From: Eilon Greenstein Date: Thu, 15 Jan 2009 05:30:27 +0000 (-0800) Subject: bnx2x: MTU Filter X-Git-Tag: v2.6.29-rc2~11^2~11 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=e7799c5f79072b5b34cf08170f142bcb8569cfff;p=linux-2.6-omap-h63xx.git bnx2x: MTU Filter Too big packets could pass due to wrong filter size Signed-off-by: Eilon Greenstein Signed-off-by: David S. Miller --- diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c index 9e6aa8a1ee9..b573951600d 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) 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;