]> git.baikalelectronics.ru Git - kernel.git/commit
[TIPC]: Improved support for Ethernet traffic filtering
authorAllan Stephens <allan.stephens@windriver.com>
Mon, 11 Jun 2007 00:24:20 +0000 (17:24 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 11 Jul 2007 05:06:02 +0000 (22:06 -0700)
commit2d5989705cb0b6c247883e76ab2e1e1fa77a9081
treedec16d74b5b5204692d14e07d57fd6c35c6c162e
parentba8ac2021fcc212bf3bce0a73249edbce4578480
[TIPC]: Improved support for Ethernet traffic filtering

This patch simplifies TIPC's Ethernet receive routine to take
advantage of information already present in each incoming sk_buff
indicating whether the packet was explicitly sent to the interface,
has been broadcast to all interfaces, or was picked up because the
interface is in promiscous mode.

This new approach also fixes the problem of TIPC accepting unwanted
traffic through UML's multicast-based Ethernet interfaces (which
deliver traffic in a promiscuous manner even if the interface is
not configured to be promiscuous).

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Jon Paul Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/eth_media.c