]> 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)
commitd3640b880fd36b7061892195f995575e26e2e66c
tree764c5e10ec7230d3c4ea036526100b377942e67c
parent9e32fce10648a5311cef4725a534f1577fc62c08
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