commit | 921ddc19b91ed92ce9485e46a147a0a49fabc69c | [log] [tgz] |
---|---|---|
author | Anton Blanchard <anton@samba.org> | Fri Oct 14 05:31:02 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Oct 17 19:00:54 2011 -0400 |
tree | f06cdfabd8ae07846780f37e865430caeede2c85 | |
parent | 723f28e49c9f8578b418dfd1ec8c7b9cc13e2b63 [diff] |
ehea: Dont check NETIF_F_TSO in TX path It seems like the ehea xmit routine and an ethtool change of TSO mode could race, resulting in corrupt packets. Checking gso_size is enough and we can use the helper function. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>