Date: Tue, 31 Jan 2006 21:21:28 +0000 (UTC) From: Andrew Thompson <thompsa@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net if_bridge.c Message-ID: <200601312121.k0VLLSKc082607@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601312121.k0VLLSKc082607>
