Star64_linux/net
Herbert Xu a46f08f255 xfrm: Allow transport-mode states with AF_UNSPEC selector
[ Upstream commit c276a706ea ]

xfrm state selectors are matched against the inner-most flow
which can be of any address family.  Therefore middle states
in nested configurations need to carry a wildcard selector in
order to work at all.

However, this is currently forbidden for transport-mode states.

Fix this by removing the unnecessary check.

Fixes: 13996378e6 ("[IPSEC]: Rename mode to outer_mode and add inner_mode")
Reported-by: David George <David.George@sophos.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-04-19 18:00:48 +08:00
..
6lowpan
9p
802
8021q
appletalk
atm
ax25
batman-adv
bluetooth
bpf
bpfilter
bridge
caif
can
ceph
core
dcb
dccp
decnet
dns_resolver
dsa
ethernet
ethtool
hsr
ieee802154
ife
ipv4 netfilter: tproxy: fix deadlock due to missing BH disable 2023-04-19 18:00:42 +08:00
ipv6 netfilter: tproxy: fix deadlock due to missing BH disable 2023-04-19 18:00:42 +08:00
iucv
kcm
key
l2tp
l3mdev
lapb
llc
mac80211
mac802154
mctp
mpls
mptcp
ncsi
netfilter netfilter: conntrack: adopt safer max chain length 2023-04-19 18:00:43 +08:00
netlabel
netlink
netrom
nfc
nsh
openvswitch
packet
phonet
psample
qrtr
rds
rfkill
rose
rxrpc
sched
sctp
smc net/smc: fix fallback failed while sendmsg with fastopen 2023-04-19 18:00:43 +08:00
strparser
sunrpc SUNRPC: Fix a server shutdown leak 2023-04-19 18:00:43 +08:00
switchdev
tipc
tls
unix af_unix: fix struct pid leaks in OOB support 2023-04-19 18:00:43 +08:00
vmw_vsock
wireless
x25
xdp
xfrm xfrm: Allow transport-mode states with AF_UNSPEC selector 2023-04-19 18:00:48 +08:00
compat.c
devres.c
Kconfig
Makefile
socket.c
sysctl_net.c