summaryrefslogtreecommitdiff
path: root/Documentation/x86
diff options
context:
space:
mode:
authorDave Ertman <david.m.ertman@intel.com>2016-08-29 17:38:26 -0700
committerDavid S. Miller <davem@davemloft.net>2016-09-01 14:20:28 -0700
commita036244c068612a43fa8c0f33a0eb4daa4d8dba0 (patch)
tree2284d5be041c49060cfc4959b7693245872c7ce5 /Documentation/x86
parentda29838dcbde86b3bdf3b5702abb5937b4c31d18 (diff)
i40e: Fix kernel panic on enable/disable LLDP
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.ertman@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/x86')
0 files changed, 0 insertions, 0 deletions