diff options
author | Eric Dumazet <edumazet@google.com> | 2013-10-18 22:13:27 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-20 01:11:56 +0200 |
commit | 47d27aad44169372f358cda88a223883f6760fa5 (patch) | |
tree | 773d64817eccc3a2453a6804e5540bcbb6b6907c /net/8021q/vlan.h | |
parent | bonding: Remove __exit tag from bond_netlink_fini(). (diff) | |
download | linux-47d27aad44169372f358cda88a223883f6760fa5.tar.xz linux-47d27aad44169372f358cda88a223883f6760fa5.zip |
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>
Diffstat (limited to 'net/8021q/vlan.h')
0 files changed, 0 insertions, 0 deletions