net : optimize skb_release_data()
authorEric Dumazet <edumazet@google.com>
Wed, 24 Sep 2014 01:39:30 +0000 (18:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Sep 2014 20:53:49 +0000 (16:53 -0400)
Cache skb_shinfo(skb) in a variable to avoid computing it multiple
times.

Reorganize the tests to remove one indentation level.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found