iPXE - Open Source Boot Firmware

[lacp] Check the partner's own state when checking for blocked links
authorMichael Brown <mcb30@ipxe.org>
Mon, 19 Mar 2018 13:47:39 +0000 (15:47 +0200)
committerMichael Brown <mcb30@ipxe.org>
Mon, 19 Mar 2018 13:47:39 +0000 (15:47 +0200)
commit342ff967cc109f8e21e743d841434b08737d9e6c
tree4f577d1266defaa42311a596e00834f4b532f791
parent9759860ec0c30685b53568b10caa5a91428bc7bf
[lacp] Check the partner's own state when checking for blocked links

The blocked link test in eth_slow_lacp_rx() is performed before the
actor TLV is copied to the partner TLV, and so must test the actor
state field rather than the partner state field.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/net/eth_slow.c