OSDN Git Service

skbuff: move __alloc_skb() next to the other skb allocation functions
authorAlexander Lobakin <alobakin@pm.me>
Sat, 13 Feb 2021 14:11:00 +0000 (14:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Feb 2021 22:32:03 +0000 (14:32 -0800)
commit5381b23d5bf9c06899324a6268a78e1113ea5382
tree68dbfe6668d75bcaff2a0c2cd96fc006e77356dc
parent773dc50d71690202afd7b5017c060c6ca8c75dd9
skbuff: move __alloc_skb() next to the other skb allocation functions

In preparation before reusing several functions in all three skb
allocation variants, move __alloc_skb() next to the
__netdev_alloc_skb() and __napi_alloc_skb().
No functional changes.

Signed-off-by: Alexander Lobakin <alobakin@pm.me>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c