summaryrefslogtreecommitdiffstats
path: root/include/net/neighbour.h
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2018-09-12 11:17:03 +0800
committerDavid S. Miller <davem@davemloft.net>2018-09-13 09:25:40 -0700
commitac1f1f6c5ae8352a39afea7b0786c59bcd730712 (patch)
tree2c4820e906b8f4ea4de60d99046172e3d1f6a702 /include/net/neighbour.h
parentf7053b6ccb65a36fdfed6ad92b808464839f0eb6 (diff)
downloadlinux-ac1f1f6c5ae8352a39afea7b0786c59bcd730712.tar.gz
linux-ac1f1f6c5ae8352a39afea7b0786c59bcd730712.tar.bz2
linux-ac1f1f6c5ae8352a39afea7b0786c59bcd730712.zip
tuntap: tweak on the path of skb XDP case in tun_build_skb()
If we're sure not to go native XDP, there's no need for several things like bh and rcu stuffs. So this patch introduces a helper to build skb and hold page refcnt. When we found we will go through skb path, build skb directly. Signed-off-by: Jason Wang <jasowang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/neighbour.h')
0 files changed, 0 insertions, 0 deletions