commit | 0a5aeee0b79fa99d8e04c98dd4e87d4f52aa497b | [log] [tgz] |
---|---|---|
author | David Woodhouse <David.Woodhouse@intel.com> | Wed Sep 23 09:44:57 2015 +0100 |
committer | David S. Miller <davem@davemloft.net> | Wed Sep 23 14:47:12 2015 -0700 |
tree | d21cdf659bb7a929d5548e495316f1a514354c29 | |
parent | a3b804043f490aeec57d8ca5baccdd35e6250857 [diff] |
8139cp: Reduce duplicate csum/tso code in cp_start_xmit() We calculate the value of the opts1 descriptor field in three different places. With two different behaviours when given an invalid packet to be checksummed — none of them correct. Sort that out. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>