tg3: Fix UDP fragments treated as RMCP
authorNithin Sujir <nsujir@broadcom.com>
Mon, 29 Jul 2013 20:58:39 +0000 (13:58 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Jul 2013 06:38:52 +0000 (23:38 -0700)
commit378b72c873b4828cde5b4bc85c7029d98f8f1df4
tree8a329c23cf5a0671b223372b29a6a6c115e72fe7
parent92e6457d4cf68ef69bc4f98330c93e198df06a43
tg3: Fix UDP fragments treated as RMCP

The 5762 devices sometimes incorrectly treat udp fragments as RMCP
packets and route to the APE. This patch sets the RX_MODE_IPV4_FRAG_FIX
bit for these devices which enables the proper behaviour.

Signed-off-by: Nithin Nayak Sujir <nsujir@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/tg3.c
drivers/net/ethernet/broadcom/tg3.h