]> git.hungrycats.org Git - linux/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)
committerBen Hutchings <ben@decadent.org.uk>
Mon, 13 May 2013 14:02:35 +0000 (15:02 +0100)
commit7bc063015a9aa096f84c1049d80bccd4de0d6273
treefd0f8742f6b69f13bbc3d31fe2dcdbd391a62ff7
parentc8b2a1ad3630f35394bc23595cfa075d60c81f18
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: Ben Hutchings <ben@decadent.org.uk>
drivers/net/ethernet/atheros/atl1e/atl1e.h
drivers/net/ethernet/atheros/atl1e/atl1e_main.c