]> git.karo-electronics.de Git - karo-tx-linux.git/commit
atl1e: limit gso segment size to prevent generation of wrong ip length fields
authorHannes Frederic Sowa <hannes@stressinduktion.org>
Tue, 2 Apr 2013 14:36:46 +0000 (14:36 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 May 2013 16:46:16 +0000 (09:46 -0700)
commitbca07ae344f112d51a3ac548cfae6e100f7665f9
treebf2db70c6c59aae446149f61458ae9f0f386a05f
parent54c3688854c2a11f6960579d15a74d1dd7b10706
atl1e: limit gso segment size to prevent generation of wrong ip length fields

[ Upstream commit 31d1670e73f4911fe401273a8f576edc9c2b5fea ]

The limit of 0x3c00 is taken from the windows driver.

Suggested-by: Huang, Xiong <xiong@qca.qualcomm.com>
Cc: Huang, Xiong <xiong@qca.qualcomm.com>
Cc: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/atheros/atl1e/atl1e.h
drivers/net/ethernet/atheros/atl1e/atl1e_main.c