commit | a1e975e117ad657dedafed2ab64ce4ddccc9883b | [log] [tgz] |
---|---|---|
author | Vasily Averin <vvs@virtuozzo.com> | Mon Aug 02 11:52:54 2021 +0300 |
committer | David S. Miller <davem@davemloft.net> | Tue Aug 03 11:21:39 2021 +0100 |
tree | df5e158b6f812e8d1de3d432fa44629f30fe47a2 | |
parent | 53744a4a72afe11779e0c69bbe0fff7dcd83e3ce [diff] |
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: Vasily Averin <vvs@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>