r8169: corrupted IP fragments fix for large mtu.
authorfran├žois romieu <romieu@fr.zoreil.com>
Fri, 2 Mar 2012 04:43:14 +0000 (04:43 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Mar 2012 16:02:32 +0000 (09:02 -0700)
commitf33486042a73eeda295d146092af06d40db1e221
treeac6bff9cc815b225f323c2f118b8072e64874201
parentcd3d5286e46aa60ff36a1f7431860d2e7e2fade2
r8169: corrupted IP fragments fix for large mtu.

[ Upstream commit 9c5028e9da1255dd2b99762d8627b88b29f68cce ]

Noticed with the 8168d (-vb-gr, aka RTL_GIGA_MAC_VER_26).

ConfigX registers should only be written while the Config9346 lock
is held.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Reported-by: Nick Bowler <nbowler@elliptictech.com>
Cc: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/realtek/r8169.c