From: Jeff Kirsher <[email protected]> Date: Mon, 29 Aug 2016 17:38:26 -0700
> From: Dave Ertman <[email protected]> > > If DCB is configured on the link partner switch with an > unsupported traffic class configuration (e.g. non-contiguous TCs), > the driver is flagging DCB as disabled. But, for future DCB > LLDPDUs, the driver was checking if the interface was DCB capable > instead of enabled. This was causing a kernel panic when LLDP > was enabled/disabled on the link partner switch. > > This patch corrects the situation by having the LLDP event handler > check the correct flag in the pf structure. It also cleans up the > setting and clearing of the enabled flag for other checks. > > Signed-off-by: Dave Ertman <[email protected]> > Tested-by: Andrew Bowers <[email protected]> > Signed-off-by: Jeff Kirsher <[email protected]> Applied, thanks Jeff.
