Skip to content
Commit a1e975e1 authored by Vasily Averin's avatar Vasily Averin Committed by David S. Miller
Browse files

bpf: use skb_expand_head in bpf_out_neigh_v4/6



Unlike skb_realloc_headroom, new helper skb_expand_head
does not allocate a new skb if possible.

Additionally this patch replaces commonly used dereferencing with variables.

Signed-off-by: default avatarVasily Averin <vvs@virtuozzo.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 53744a4a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment