diff options
author | Eilon Greenstein <eilong@broadcom.com> | 2009-01-15 00:30:27 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-15 11:28:16 -0500 |
commit | e7799c5f79072b5b34cf08170f142bcb8569cfff (patch) | |
tree | 2e2d54c2f9ce5fbfe5d9adfc89737834ee2c0f1e /drivers/net | |
parent | 26c8fa4d8a08b6e7a61f23339e2236218957ecc0 (diff) |
bnx2x: MTU Filter
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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/bnx2x_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c index 9e6aa8a1ee91..b573951600de 100644 --- 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) | |||
4543 | int port = BP_PORT(bp); | 4543 | int port = BP_PORT(bp); |
4544 | int i; | 4544 | int i; |
4545 | 4545 | ||
4546 | tstorm_client.mtu = bp->dev->mtu + ETH_OVREHEAD; | 4546 | tstorm_client.mtu = bp->dev->mtu; |
4547 | tstorm_client.statistics_counter_id = BP_CL_ID(bp); | 4547 | tstorm_client.statistics_counter_id = BP_CL_ID(bp); |
4548 | tstorm_client.config_flags = | 4548 | tstorm_client.config_flags = |
4549 | TSTORM_ETH_CLIENT_CONFIG_STATSITICS_ENABLE; | 4549 | TSTORM_ETH_CLIENT_CONFIG_STATSITICS_ENABLE; |