thompsa 2006-01-31 21:21:28 UTC
FreeBSD src repository
Modified files:
sys/net if_bridge.c
Log:
Fix two bugs with the bridge
- code expects memcmp() to return a signed value, our memcmp() returns 0 if
args are equal and > 0 if not.
- It's possible to hijack interface for static entry. If bridge recieves
packet from interface marked as learning it will replace the bridge_rtnode
entry for the source address even if such entry marked as static.
Submitted by: Gleb Kurtsov <k-gleb yandex.ru>
MFC after: 3 days
Revision Changes Path
1.52 +17 -3 src/sys/net/if_bridge.c
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"