]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Partial fix for when ipfw is used with bridging. Bridged packets
authorluigi <luigi@FreeBSD.org>
Thu, 31 Dec 1998 07:43:29 +0000 (07:43 +0000)
committerluigi <luigi@FreeBSD.org>
Thu, 31 Dec 1998 07:43:29 +0000 (07:43 +0000)
commit09f08ede8d9606412d8b09413f4cc5153193e310
tree7d101b56a4fd2cb7bfad0a57ff8aae5e636ae3d2
parentd3efa9889b9f935da5cb799803f8832a33cb1133
Partial fix for when ipfw is used with bridging. Bridged packets
have all fields in network order, whereas ipfw expects some to be
in host order. This resulted in some incorrect matching, e.g. some
packets being identified as fragments, or bandwidth not being
correctly enforced.
NOTE: this only affects bridge+ipfw, normal ipfw usage was already
correct).

Reported-By: Dave Alden and others.
sys/netinet/ip_fw.c