linux-stable/drivers/net
Richard Gobert 35ffb66547 net: gro: skb_gro_header helper function
Introduce a simple helper function to replace a common pattern.
When accessing the GRO header, we fetch the pointer from frag0,
then test its validity and fetch it from the skb when necessary.

This leads to the pattern
skb_gro_header_fast -> skb_gro_header_hard -> skb_gro_header_slow
recurring many times throughout GRO code.

This patch replaces these patterns with a single inlined function
call, improving code readability.

Signed-off-by: Richard Gobert <richardbgobert@gmail.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20220823071034.GA56142@debian
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2022-08-25 10:33:21 +02:00
..
appletalk
arcnet
bonding bonding: fix reference count leak in balance-alb mode 2022-08-11 08:51:05 -07:00
caif
can Including fixes from bluetooth, bpf, can and netfilter. 2022-08-11 13:45:37 -07:00
dsa net: mscc: ocelot: set up tag_8021q CPU ports independent of user port affinity 2022-08-23 11:39:22 +02:00
ethernet net: ethernet: ti: davinci_mdio: fix build for mdio bitbang uses 2022-08-24 18:44:24 -07:00
fddi skfp/h: fix repeated words in comments 2022-08-12 11:20:29 +01:00
fjes
hamradio
hippi
hyperv
ieee802154
ipa net: ipa: Fix comment typo 2022-08-12 11:28:14 +01:00
ipvlan
mctp
mdio
netdevsim Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-08-03 09:04:55 +02:00
pcs
phy net: phy: tja11xx: add interface mode and RMII REF_CLK support 2022-08-23 17:43:28 -07:00
plip plip: avoid rcu debug splat 2022-08-09 12:16:02 -07:00
ppp
slip
team
usb net: usb: qmi_wwan: Add support for Cinterion MV32 2022-08-11 07:58:42 -07:00
vmxnet3
vxlan net: gro: skb_gro_header helper function 2022-08-25 10:33:21 +02:00
wan
wireguard Char / Misc driver changes for 6.0-rc1 2022-08-04 11:05:48 -07:00
wireless Including fixes from bluetooth, bpf, can and netfilter. 2022-08-11 13:45:37 -07:00
wwan Revert "Merge branch 'wwan-t7xx-fw-flashing-and-coredump-support'" 2022-08-19 15:30:05 -07:00
xen-netback
amt.c amt: remove unnecessary skb pointer check 2022-08-19 16:51:21 -07:00
bareudp.c
dummy.c
eql.c
geneve.c net: gro: skb_gro_header helper function 2022-08-25 10:33:21 +02:00
gtp.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c macsec: Fix traffic counters/statistics 2022-08-10 13:45:06 +01:00
macvlan.c
macvtap.c
Makefile
mdio.c
mhi_net.c
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c net: tap: NULL pointer derefence in dev_parse_header_protocol when skb->dev is null 2022-08-05 08:56:35 +01:00
thunderbolt.c
tun.c
veth.c Revert "veth: Add updating of trans_start" 2022-08-03 19:20:13 -07:00
virtio_net.c Including fixes from netfilter. 2022-08-18 19:37:15 -07:00
vrf.c
vsockmon.c
xen-netfront.c