]> git.baikalelectronics.ru Git - kernel.git/commit
bonding: Verify RX LACPDU has proper dest mac-addr
authorMahesh Bandewar <maheshb@google.com>
Tue, 24 Feb 2015 01:50:10 +0000 (17:50 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Feb 2015 21:05:47 +0000 (16:05 -0500)
commit9f10a4a15e26d6b5d36735bc7fae0d1d4215fa8c
tree764c5e10ec7230d3c4ea036526100b377942e67c
parent5f91789748be80fab85248141f8153f6fac9cd84
bonding: Verify RX LACPDU has proper dest mac-addr

The 802.1AX standard states:
"The DA in LACPDUs is the Slow_Protocols_Multicast address."

This patch enforces that and drops LACPDUs with destination MAC
addresses other than Slow_Protocols_Multicast address

Signed-off-by: Mahesh Bandewar <maheshb@google.com>
Reviewed-by: Nikolay Aleksandrov <nikolay@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_3ad.c