diff options
author | Eric Dumazet <edumazet@google.com> | 2014-09-24 03:39:30 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-26 22:53:49 +0200 |
commit | ff04a771ad25fc9ba91690e73465b4d34b6bf8b3 (patch) | |
tree | 4d42ca1c4b28e84e35f8e4cad3ad277287c25cc8 /include/net/ip.h | |
parent | sparc: bpf_jit: add support for BPF_LD(X) | BPF_LEN instructions (diff) | |
download | linux-ff04a771ad25fc9ba91690e73465b4d34b6bf8b3.tar.xz linux-ff04a771ad25fc9ba91690e73465b4d34b6bf8b3.zip |
net : optimize skb_release_data()
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>
Diffstat (limited to 'include/net/ip.h')
0 files changed, 0 insertions, 0 deletions