]> git.baikalelectronics.ru Git - kernel.git/commit
[LLC]: multicast receive device match
authorStephen Hemminger <shemminger@osdl.org>
Mon, 14 Aug 2006 01:56:26 +0000 (18:56 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Aug 2006 01:56:26 +0000 (18:56 -0700)
commite2b9dddce44bf8c65636fff5d9039c4ed9a11fad
treeb42e1a84e1f75d85ad12cfc2b90dbf8a4c6a7447
parent565a419bacbb392977c5fde03244a3929ddf9d8c
[LLC]: multicast receive device match

Fix from Aji_Srinivas@emc.com, STP packets are incorrectly received on
all LLC datagram sockets, whichever interface they are bound to.  The
llc_sap datagram receive logic sends packets with a unicast
destination MAC to one socket bound to that SAP and MAC, and multicast
packets to all sockets bound to that SAP. STP packets are multicast,
and we do need to know on which interface they were received.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/llc/llc_sap.c