commit | 7b7fc97aa390dfe4770e1d19e215fa289d94b477 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Thu Dec 05 22:31:30 2013 -0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Dec 06 12:51:40 2013 -0500 |
tree | 780f432a513cc6e8c980b061b38e0c3c01288a99 | |
parent | 84b9cd633bc35a028b313178829ee313525f6892 [diff] |
tcp: optimize some skb_shinfo(skb) uses Compiler doesn't know skb_shinfo(skb) pointer is usually constant. By using a temporary variable, we help generating smaller code. For example, tcp_init_nondata_skb() is inlined after this patch. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>