Paolo Abeni
751aaf9f30
UPSTREAM: udp: never accept GSO_FRAGLIST packets
...
Currently the UDP protocol delivers GSO_FRAGLIST packets to
the sockets without the expected segmentation.
This change addresses the issue introducing and maintaining
a couple of new fields to explicitly accept SKB_GSO_UDP_L4
or GSO_FRAGLIST packets. Additionally updates udp_unexpected_gso()
accordingly.
UDP sockets enabling UDP_GRO stil keep accept_udp_fraglist
zeroed.
v1 -> v2:
- use 2 bits instead of a whole GSO bitmask (Willem)
Fixes: 9fd1ff5d2ac7 ("udp: Support UDP fraglist GRO/GSO.")
Signed-off-by: Paolo Abeni <[email protected] >
Reviewed-by: Willem de Bruijn <[email protected] >
Signed-off-by: David S. Miller <[email protected] >
(cherry picked from commit 78352f73dc5047f3f744764cc45912498c52f3c9)
Bug: 187129171
Signed-off-by: Connor O'Brien <[email protected] >
Change-Id: I79d90f403c10f83f21e3f99554b6fdbfc2cc60b0
2021-10-01 11:32:55 -07:00
..
6lowpan
9p
802
8021q
appletalk
atm
ax25
batman-adv
batman-adv: Avoid WARN_ON timing related checks
2021-06-23 14:41:23 +02:00
bluetooth
Bluetooth: Shutdown controller after workqueues are flushed or cancelled
2021-07-19 08:53:13 +02:00
bpf
bpfilter
bpfilter: Specify the log level for the kmsg message
2021-07-14 16:53:33 +02:00
bridge
net: bridge: fix vlan tunnel dst refcnt when egressing
2021-06-23 14:41:30 +02:00
caif
This is the 5.4.125 stable release
2021-06-10 15:12:14 +02:00
can
This is the 5.4.132 stable release
2021-07-14 17:12:58 +02:00
ceph
core
Merge 5.4.133 into android11-5.4-lts
2021-07-20 11:32:58 +02:00
dcb
dccp
decnet
dns_resolver
dsa
net: dsa: fix error code getting shifted with 4 in dsa_slave_get_sset_count
2021-06-03 08:59:12 +02:00
ethernet
hsr
hsr: use netdev_err() instead of WARN_ONCE()
2021-05-14 09:44:10 +02:00
ieee802154
net: ieee802154: fix null deref in parse dev addr
2021-06-18 09:58:57 +02:00
ife
ipv4
UPSTREAM: udp: never accept GSO_FRAGLIST packets
2021-10-01 11:32:55 -07:00
ipv6
Merge 5.4.133 into android11-5.4-lts
2021-07-20 11:32:58 +02:00
iucv
kcm
key
l2tp
l3mdev
lapb
llc
mac80211
This is the 5.4.132 stable release
2021-07-14 17:12:58 +02:00
mac802154
net: mac802154: Fix general protection fault
2021-04-14 08:24:18 +02:00
mpls
ncsi
net/ncsi: Avoid channel_monitor hrtimer deadlock
2021-04-14 08:24:15 +02:00
netfilter
Merge tag 'android11-5.4.134_r00' into android11-5.4
2021-08-24 20:32:44 +02:00
netlabel
netlabel: Fix memory leak in netlbl_mgmt_add_common
2021-07-14 16:53:29 +02:00
netlink
netlink: disable IRQs for netlink_lock_table()
2021-06-16 11:59:34 +02:00
netrom
nfc
net/nfc/rawsock.c: fix a permission check bug
2021-06-16 11:59:33 +02:00
nsh
openvswitch
openvswitch: meter: fix race when getting now_ms.
2021-06-03 08:59:13 +02:00
packet
net/packet: annotate accesses to po->ifindex
2021-06-30 08:47:48 -04:00
phonet
psample
qrtr
net: qrtr: fix OOB Read in qrtr_endpoint_post
2021-06-23 14:41:25 +02:00
rds
net: rds: fix memory leak in rds_recvmsg
2021-06-23 14:41:24 +02:00
rfkill
rose
rxrpc
sched
net: sched: fix error return code in tcf_del_walker()
2021-07-19 08:53:11 +02:00
sctp
Merge 5.4.133 into android11-5.4-lts
2021-07-20 11:32:58 +02:00
smc
Revert "net/smc: fix a NULL pointer dereference"
2021-06-03 08:59:08 +02:00
strparser
sunrpc
SUNRPC: Should wake up the privileged task firstly.
2021-07-14 16:53:05 +02:00
switchdev
tipc
tipc: fix unique bearer names sanity check
2021-06-10 13:37:08 +02:00
tls
tls: prevent oversized sendfile() hangs by ignoring MSG_MORE
2021-07-14 16:53:31 +02:00
unix
UPSTREAM: af_unix: fix garbage collect vs MSG_PEEK
2021-09-17 15:10:24 -07:00
vmw_vsock
Merge 5.4.133 into android11-5.4-lts
2021-07-20 11:32:58 +02:00
wimax
wireless
Merge 5.4.133 into android11-5.4-lts
2021-07-20 11:32:58 +02:00
x25
net/x25: Return the correct errno code
2021-06-18 09:59:00 +02:00
xdp
xsk: Simplify detection of empty and full rings
2021-05-22 11:38:27 +02:00
xfrm
UPSTREAM: xfrm/compat: Cleanup WARN()s that can be user-triggered
2021-10-01 11:32:54 -07:00
compat.c
net: Return the correct errno code
2021-06-18 09:59:00 +02:00
Kconfig
Makefile
OWNERS
socket.c
This is the 5.4.128 stable release
2021-06-23 17:54:31 +02:00
sysctl_net.c