From: Cong Wang Date: Tue, 5 Feb 2013 16:36:38 +0000 (+0000) Subject: net: adjust skb_gso_segment() for calling in rx path X-Git-Tag: v3.9-rc1~139^2~145 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12b0004d1d1e2a9aa667412d479041e403bcafae;p=pandora-kernel.git net: adjust skb_gso_segment() for calling in rx path skb_gso_segment() is almost always called in tx path, except for openvswitch. It calls this function when it receives the packet and tries to queue it to user-space. In this special case, the ->ip_summed check inside skb_gso_segment() is no longer true, as ->ip_summed value has different meanings on rx path. This patch adjusts skb_gso_segment() so that we can at least avoid such warnings on checksum. Cc: Jesse Gross Cc: David S. Miller Signed-off-by: Cong Wang Signed-off-by: David S. Miller --- Reading git-diff-tree failed