linux_dsm_epyc7002/net
Eric Dumazet d3d2116d66 ipv4: fix endianness issue in inet_rtm_getroute_build_skb()
[ Upstream commit 92548b0ee220e000d81c27ac9a80e0ede895a881 ]

The UDP length field should be in network order.
This removes the following sparse error:

net/ipv4/route.c:3173:27: warning: incorrect type in assignment (different base types)
net/ipv4/route.c:3173:27:    expected restricted __be16 [usertype] len
net/ipv4/route.c:3173:27:    got unsigned long

Fixes: 404eb77ea7 ("ipv4: support sport, dport and ip_proto in RTM_GETROUTE")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Roopa Prabhu <roopa@nvidia.com>
Cc: David Ahern <dsahern@kernel.org>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-07-05 19:13:33 +02:00
..
6lowpan 6lowpan: iphc: Fix an off-by-one check of array index 2024-07-05 19:11:18 +02:00
9p
802
8021q
appletalk
atm
ax25
batman-adv batman-adv: Avoid WARN_ON timing related checks 2021-06-23 14:42:41 +02:00
bluetooth Bluetooth: add timeout sanity check to hci_inquiry 2024-07-05 19:12:05 +02:00
bpf bpf: Fix NULL pointer dereference in bpf_get_local_storage() helper 2024-07-05 18:56:10 +02:00
bpfilter
bridge net: bridge: fix memleak in br_add_if() 2024-07-05 18:54:25 +02:00
caif
can can: j1939: j1939_session_deactivate(): clarify lifetime of session object 2024-07-05 18:06:34 +02:00
ceph
core devlink: Clear whole devlink_flash_notify struct 2024-07-05 19:11:56 +02:00
dcb
dccp dccp: add do-while-0 stubs for dccp_pr_debug macros 2024-07-05 18:55:45 +02:00
decnet
dns_resolver
dsa
ethernet init: add dsm gpl source 2024-07-05 18:00:04 +02:00
ethtool
hsr net: hsr: fix mac_len checks 2021-06-03 09:00:50 +02:00
ieee802154 net: Fix memory leak in ieee802154_raw_deliver 2024-07-05 18:54:24 +02:00
ife
ipv4 ipv4: fix endianness issue in inet_rtm_getroute_build_skb() 2024-07-05 19:13:33 +02:00
ipv6 init: add dsm gpl source 2024-07-05 18:00:04 +02:00
iucv
kcm
key
l2tp
l3mdev
lapb
llc
mac80211 mac80211: Fix insufficient headroom issue for AMSDU 2024-07-05 19:11:56 +02:00
mac802154
mpls
mptcp
ncsi
netfilter netfilter: nftables: clone set element expression template 2024-07-05 19:07:11 +02:00
netlabel net: cipso: fix warnings in netlbl_cipsov4_add_std 2024-07-05 19:11:27 +02:00
netlink
netrom
nfc
nsh
openvswitch ovs: clear skb->tstamp in forwarding path 2024-07-05 18:55:47 +02:00
packet
phonet
psample
qrtr net: qrtr: fix another OOB Read in qrtr_endpoint_post 2024-07-05 18:56:10 +02:00
rds net/rds: dma_map_sg is entitled to merge entries 2024-07-05 19:00:50 +02:00
rfkill
rose
rxrpc
sched net: sched: Fix qdisc_rate_table refcount leak when get tcf_block failed 2024-07-05 19:13:22 +02:00
sctp sctp: move the active_key update after sh_keys is added 2024-07-05 18:52:08 +02:00
smc net/smc: fix wait on already cleared link 2024-07-05 18:54:23 +02:00
strparser
sunrpc
switchdev
tipc tipc: call tipc_wait_for_connect only when dlen is not 0 2024-07-05 19:00:51 +02:00
tls
unix
vmw_vsock vsock/virtio: avoid potential deadlock when vsock device remove 2024-07-05 18:54:39 +02:00
wimax
wireless
x25
xdp
xfrm net: xfrm: Fix end of loop tests for list_for_each_entry 2024-07-05 18:55:30 +02:00
compat.c
devres.c net: devres: rename the release callback of devm_register_netdev() 2020-06-30 15:57:34 -07:00
Kconfig
Makefile
socket.c net: don't unconditionally copy_from_user a struct ifreq for socket ioctls 2024-07-05 19:02:28 +02:00
sysctl_net.c