[Intel-wired-lan] [PATCH] ixgbe: always initialize setup_fc

Patrick McLean patrickm at gaikai.com
Sat Jul 2 01:31:15 UTC 2016


In ixgbe_init_mac_link_ops_X550em, the code has a special case for
backplane media type, but does not fall through to the default case, so the
setup_fc never gets initialized. This causes a panic when it later tries to
set up the card, and the kernel dereferences the null pointer.

This patch lets the the function fall through, which initialized setup_fc
properly.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/intel-wired-lan/attachments/20160701/09bb2ecb/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ixgbe-x550-always-initialize-setup_fc.patch
Type: text/x-patch
Size: 559 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/intel-wired-lan/attachments/20160701/09bb2ecb/attachment.bin>


More information about the Intel-wired-lan mailing list