]> git.baikalelectronics.ru Git - kernel.git/commit
[BRIDGE]: don't change packet type
authorStephen Hemminger <shemminger@linux-foundation.org>
Thu, 26 Apr 2007 05:03:10 +0000 (22:03 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:30:00 +0000 (22:30 -0700)
commit9c35c74fcd8f491c69df82aa37b63ebeb8ec73ee
treeba5a69f01b6f1f4b24892fa0cb3cba2404645a1e
parent461dbf5fd09d0b1dde6da8e8845684025860f805
[BRIDGE]: don't change packet type

The change to forward STP bpdu's (for usermode STP) through normal path,
changed the packet type in the process. Since link local stuff is multicast, it
should stay pkt_type = PACKET_MULTICAST.  The code was probably copy/pasted
incorrectly from the bridge pseudo-device receive path.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_input.c