projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26c8fa4
)
bnx2x: MTU Filter
author
Eilon Greenstein
<eilong@broadcom.com>
Thu, 15 Jan 2009 05:30:27 +0000
(21:30 -0800)
committer
David S. Miller
<davem@davemloft.net>
Thu, 15 Jan 2009 16:28:16 +0000
(08:28 -0800)
Too big packets could pass due to wrong filter size
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x_main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/bnx2x_main.c
b/drivers/net/bnx2x_main.c
index 9e6aa8a1ee91e1b3e35e4a43949b5b7eb83d1748..b573951600de742bfd637a0b6af9d2a90e574805 100644
(file)
--- a/
drivers/net/bnx2x_main.c
+++ b/
drivers/net/bnx2x_main.c
@@
-4543,7
+4543,7
@@
static void bnx2x_set_client_config(struct bnx2x *bp)
int port = BP_PORT(bp);
int i;
- tstorm_client.mtu = bp->dev->mtu
+ ETH_OVREHEAD
;
+ tstorm_client.mtu = bp->dev->mtu;
tstorm_client.statistics_counter_id = BP_CL_ID(bp);
tstorm_client.config_flags =
TSTORM_ETH_CLIENT_CONFIG_STATSITICS_ENABLE;