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)
commitbb54e58929f3ce9fe4da719ff2f3264f14214b3a
tree764c5e10ec7230d3c4ea036526100b377942e67c
parent2a12d6cf751ff4a26f4054670d4f19ff315ed3b0
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