From: Jeff Kirsher <jeffrey.t.kirs...@intel.com> Date: Mon, 29 Aug 2016 17:38:26 -0700
> From: Dave Ertman <david.m.ert...@intel.com> > > 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 <david.m.ert...@intel.com> > Tested-by: Andrew Bowers <andrewx.bow...@intel.com> > Signed-off-by: Jeff Kirsher <jeffrey.t.kirs...@intel.com> Applied, thanks Jeff.