]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9dc74035d207071400ad3acfcd969a37793e21b4
tree8a329c23cf5a0671b223372b29a6a6c115e72fe7
parent63cb956c1f2321b489d5320fad873d0ff5b6dcea
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