]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
o Some programs could send broadcast/multicast traffic to ipfw
authorMaxim Konovalov <maxim@FreeBSD.org>
Mon, 30 Aug 2010 09:29:51 +0000 (09:29 +0000)
committerMaxim Konovalov <maxim@FreeBSD.org>
Mon, 30 Aug 2010 09:29:51 +0000 (09:29 +0000)
commit5a47f206a1ec63f3d4ad4c9c92109422a35ab7eb
tree7d60ceccdad4defc6b21fb7b884feced0e6e8738
parentf936972752a3a5c7d09e743d72b31f0b840c8b24
o Some programs could send broadcast/multicast traffic to ipfw
pseudo-interface.  This leads to a panic due to uninitialized
if_broadcastaddr address.  Initialize it and implement ip_output()
method to prevent mbuf leak later.

ipfw pseudo-interface should never send anything therefore call
panic(9) in if_start() method.

PR: kern/149807
Submitted by: Dmitrij Tejblum
MFC after: 2 weeks
sys/netinet/ipfw/ip_fw_log.c