]> git.baikalelectronics.ru Git - kernel.git/commit
skbuff: use __build_skb_around() in __alloc_skb()
authorAlexander Lobakin <alobakin@pm.me>
Sat, 13 Feb 2021 14:11:50 +0000 (14:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Feb 2021 22:32:03 +0000 (14:32 -0800)
commit6c17c0061a3059b3075539074c524114335fc1bb
tree4ee3cbe73c8d113d139c857790dad86a2216855e
parenteb03c249d86d401c5caa7357850df41f63d05caa
skbuff: use __build_skb_around() in __alloc_skb()

Just call __build_skb_around() instead of open-coding it.

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