[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20131019.191234.1720465099173408081.davem@davemloft.net>
Date: Sat, 19 Oct 2013 19:12:34 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] ipv4: gso: send_check() & segment() cleanups
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Fri, 18 Oct 2013 13:13:27 -0700
> From: Eric Dumazet <edumazet@...gle.com>
>
> 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@...gle.com>
Applied, thanks Eric.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists