Home
last modified time | relevance | path

Searched hist:ac1f1f6c5ae8352a39afea7b0786c59bcd730712 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/
H A Dtun.cdiff ac1f1f6c5ae8352a39afea7b0786c59bcd730712 Tue Sep 11 22:17:03 CDT 2018 Jason Wang <jasowang@redhat.com> 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>