From: David Woodhouse Date: Wed, 23 Sep 2015 08:44:57 +0000 (+0100) Subject: 8139cp: Reduce duplicate csum/tso code in cp_start_xmit() X-Git-Tag: omap-for-v4.3/fixes-rc5~84^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a5aeee0b79fa99d8e04c98dd4e87d4f52aa497b;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed