diff options
author | iedowse <iedowse@FreeBSD.org> | 2002-12-27 17:43:25 +0000 |
---|---|---|
committer | iedowse <iedowse@FreeBSD.org> | 2002-12-27 17:43:25 +0000 |
commit | f5462007056ca440dfe2c11ce75452bcdab12f57 (patch) | |
tree | 72e2f9fa523fd23d9944eaa63a3d75799d4d3c99 /sys/dev/asr/asr.c | |
parent | f6258ba488075f7a4561dbca1e316dd438a7af5c (diff) | |
download | FreeBSD-src-f5462007056ca440dfe2c11ce75452bcdab12f57.zip FreeBSD-src-f5462007056ca440dfe2c11ce75452bcdab12f57.tar.gz |
Bridged packets are supplied to the firewall with their IP header
in network byte order, but icmp_error() expects the IP header to
be in host order and the code here did not perform the necessary
swapping for the bridged case. This bug causes an "icmp_error: bad
length" panic when certain length IP packets (e.g. ip_len == 0x100)
are rejected by the firewall with an ICMP response.
MFC after: 3 days
Diffstat (limited to 'sys/dev/asr/asr.c')
0 files changed, 0 insertions, 0 deletions