linux/net
John Rutherford 2e849d71df tipc: fix link name length check
[ Upstream commit fd567ac20c ]

In commit 4f07b80c97 ("tipc: check msg->req data len in
tipc_nl_compat_bearer_disable") the same patch code was copied into
routines: tipc_nl_compat_bearer_disable(),
tipc_nl_compat_link_stat_dump() and tipc_nl_compat_link_reset_stats().
The two link routine occurrences should have been modified to check
the maximum link name length and not bearer name length.

Fixes: 4f07b80c97 ("tipc: check msg->reg data len in tipc_nl_compat_bearer_disable")
Signed-off-by: John Rutherford <john.rutherford@dektech.com.au>
Acked-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-12-05 09:21:31 +01:00
..
6lowpan
9p 9p: Transport error uninitialized 2019-10-11 18:21:12 +02:00
802
8021q
appletalk appletalk: enforce CAP_NET_RAW for raw sockets 2019-10-05 13:09:31 +02:00
atm net: use skb_queue_empty_lockless() in poll() handlers 2019-11-10 11:27:48 +01:00
ax25 ax25: enforce CAP_NET_RAW for raw sockets 2019-10-05 13:09:32 +02:00
batman-adv batman-adv: Avoid free/alloc race when handling OGM buffer 2019-11-06 13:06:22 +01:00
bluetooth Bluetooth: L2CAP: Detect if remote is not able to use the whole MPS 2019-11-20 18:47:42 +01:00
bpf
bpfilter
bridge bridge: ebtables: don't crash when using dnat target in output chains 2019-12-05 09:19:41 +01:00
caif net: use skb_queue_empty_lockless() in poll() handlers 2019-11-10 11:27:48 +01:00
can
ceph
core net: fix possible overflow in __sk_mem_raise_allocated() 2019-12-05 09:21:10 +01:00
dcb
dccp inet: stop leaking jiffies on the wire 2019-11-10 11:27:37 +01:00
decnet decnet: fix DN_IFREQ_SIZE 2019-12-05 09:21:07 +01:00
dns_resolver
dsa net: dsa: fix switch tree list 2019-11-10 11:27:53 +01:00
ethernet
hsr
ieee802154 ieee802154: enforce CAP_NET_RAW for raw sockets 2019-10-05 13:09:32 +02:00
ife
ipv4 net: ip_gre: do not report erspan_ver for gre or gretap 2019-12-05 09:21:10 +01:00
ipv6 net: ip6_gre: do not report erspan_ver for ip6gre or ip6gretap 2019-12-05 09:21:11 +01:00
iucv
kcm
key
l2tp
l3mdev
lapb
llc llc: avoid blocking in llc_sap_close() 2019-11-20 18:46:35 +01:00
mac80211 mac80211: fix station inactive_time shortly after boot 2019-12-05 09:19:46 +01:00
mac802154
mpls
ncsi
netfilter netfilter: nf_tables: fix a missing check of nla_put_failure 2019-12-05 09:20:59 +01:00
netlabel
netlink
netrom
nfc nfc: netlink: fix double device reference drop 2019-11-12 19:20:30 +01:00
nsh
openvswitch openvswitch: remove another BUG_ON() 2019-12-05 09:21:31 +01:00
packet
phonet net: use skb_queue_empty_lockless() in poll() handlers 2019-11-10 11:27:48 +01:00
psample net: psample: fix skb_over_panic 2019-12-05 09:21:30 +01:00
qrtr net: qrtr: Stop rx_worker before freeing node 2019-10-05 13:09:27 +02:00
rds net/rds: Fix error handling in rds_ib_add_one() 2019-10-07 18:57:24 +02:00
rfkill
rose
rxrpc rxrpc: Fix trace-after-put looking at the put peer record 2019-11-06 13:06:24 +01:00
sched net: sched: ensure opts_len <= IP_TUNNEL_OPTS_MAX in act_tunnel_key 2019-12-01 09:16:06 +01:00
sctp sctp: Fix memory leak in sctp_sf_do_5_2_4_dupcook 2019-12-05 09:21:30 +01:00
smc net/smc: fix byte_order for rx_curs_confirmed 2019-12-05 09:21:09 +01:00
strparser
sunrpc xprtrdma: Prevent leak of rpcrdma_rep objects 2019-12-05 09:20:59 +01:00
switchdev
tipc tipc: fix link name length check 2019-12-05 09:21:31 +01:00
tls
unix net: fix warning in af_unix 2019-12-01 09:16:33 +01:00
vmw_vsock VSOCK: bind to random port for VMADDR_PORT_ANY 2019-12-05 09:20:19 +01:00
wimax
wireless cfg80211: call disconnect_wk when AP stops 2019-12-01 09:17:34 +01:00
x25
xdp xsk: proper AF_XDP socket teardown ordering 2019-11-24 08:20:32 +01:00
xfrm xfrm: Fix memleak on xfrm state destroy 2019-12-05 09:21:27 +01:00
compat.c
Kconfig
Makefile
socket.c
sysctl_net.c