]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0be72d0a8a5e2c94926a7c823720b28eb3e446af
tree68dbfe6668d75bcaff2a0c2cd96fc006e77356dc
parentb971272adf0b4aca5c27637e24e100392033314b
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