]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
sfc: Use 'skb_add_rx_frag()' instead of hand coding it
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 4 Apr 2021 09:45:11 +0000 (11:45 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Apr 2021 18:55:44 +0000 (11:55 -0700)
commitc438a801e0bb2a4db1d3183a9482af891577a281
treed5c3d06d3a80bc1f8b6ab375e6c430b7f929343f
parentc3105f8485775943b2ccde09c7163510c161c965
sfc: Use 'skb_add_rx_frag()' instead of hand coding it

Some lines of code can be merged into an equivalent 'skb_add_rx_frag()'
call which is less verbose.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/rx.c