commit | 47d27aad44169372f358cda88a223883f6760fa5 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Fri Oct 18 13:13:27 2013 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sat Oct 19 19:11:56 2013 -0400 |
tree | 773d64817eccc3a2453a6804e5540bcbb6b6907c | |
parent | a729e83ad6f6de2cf11c0da4a5a7c0b3924d8335 [diff] |
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 <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>