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

Patrick McLean patrickm at gaikai.com
Sat Jul 2 01:35:59 UTC 2016


Gmail mangled my first message, sorry about that. Second attempt.

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 --------------
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/a3c84a19/attachment.bin>


More information about the Intel-wired-lan mailing list