]> git.baikalelectronics.ru Git - kernel.git/commit
ax25: use skb_expand_head
authorVasily Averin <vvs@virtuozzo.com>
Mon, 2 Aug 2021 08:52:47 +0000 (11:52 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Aug 2021 10:21:39 +0000 (11:21 +0100)
commitd0e2849066ab93598843db991c84b0fac727eb03
treebdbc1d7b5b49d037af81a55475a33cba5433130c
parentc9917a645992efe0dd68b844eaf77dfa9876473e
ax25: use skb_expand_head

Use skb_expand_head() in ax25_transmit_buffer and ax25_rt_build_path.
Unlike skb_realloc_headroom, new helper does not allocate a new skb if possible.

Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ax25/ax25_ip.c
net/ax25/ax25_out.c
net/ax25/ax25_route.c