diff options
author | bms <bms@FreeBSD.org> | 2004-06-18 12:58:45 +0000 |
---|---|---|
committer | bms <bms@FreeBSD.org> | 2004-06-18 12:58:45 +0000 |
commit | 66acd3ba6eb9d3017cc3cdf36d1268749512dd82 (patch) | |
tree | f1d6be892336657e5e0db38f23381e746abbe9d1 /sys/compat/linux/linux_socket.c | |
parent | d11f8ce42b5a43a462a0b6787677fb5b19014f17 (diff) | |
download | FreeBSD-src-66acd3ba6eb9d3017cc3cdf36d1268749512dd82.zip FreeBSD-src-66acd3ba6eb9d3017cc3cdf36d1268749512dd82.tar.gz |
Check that m->m_pkthdr.rcvif is not NULL before checking if a packet
was received on a broadcast address on the input path. Under certain
circumstances this could result in a panic, notably for locally-generated
packets which do not have m_pkthdr.rcvif set.
This is a similar situation to that which is solved by
src/sys/netinet/ip_icmp.c rev 1.66.
PR: kern/52935
Diffstat (limited to 'sys/compat/linux/linux_socket.c')
0 files changed, 0 insertions, 0 deletions