From: Eric Dumazet Date: Fri, 18 Oct 2013 20:13:27 +0000 (-0700) Subject: ipv4: gso: send_check() & segment() cleanups X-Git-Tag: v3.13-rc1~105^2~165 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47d27aad44169372f358cda88a223883f6760fa5;p=pandora-kernel.git ipv4: gso: send_check() & segment() cleanups inet_gso_segment() and inet_gso_send_check() are called by skb_mac_gso_segment() under rcu lock, no need to use rcu_read_lock() / rcu_read_unlock() Avoid calling ip_hdr() twice per function. We can use ip_send_check() helper. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed