android_kernel_motorola_sm6375/net
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Eric Dumazet 50e5c93ca6 ipv6: remove extra dev_hold() for fallback tunnels
commit 0d7a7b2014b1a499a0fe24c9f3063d7856b5aaaf upstream.

My previous commits added a dev_hold() in tunnels ndo_init(),
but forgot to remove it from special functions setting up fallback tunnels.

Fallback tunnels do call their respective ndo_init()

This leads to various reports like :

unregister_netdevice: waiting for ip6gre0 to become free. Usage count = 2

Fixes: 48bb5697269a ("ip6_tunnel: sit: proper dev_{hold|put} in ndo_[un]init methods")
Fixes: 6289a98f0817 ("sit: proper dev_{hold|put} in ndo_[un]init methods")
Fixes: 40cb881b5aaa ("ip6_vti: proper dev_{hold|put} in ndo_[un]init methods")
Fixes: 7f700334be9a ("ip6_gre: proper dev_{hold|put} in ndo_[un]init methods")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: syzbot <syzkaller@googlegroups.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-05-22 11:38:30 +02:00
..
6lowpan
9p
802
8021q
appletalk
atm
ax25
batman-adv
bluetooth Bluetooth: check for zapped sk before connecting 2021-05-19 10:08:21 +02:00
bpf
bpfilter
bridge bridge: Fix possible races between assigning rx_handler_data and setting IFF_BRIDGE_PORT bit 2021-05-22 11:38:29 +02:00
caif
can
ceph
core mm: fix struct page layout on 32-bit systems 2021-05-19 10:08:31 +02:00
dcb
dccp
decnet
dns_resolver
dsa
ethernet
hsr hsr: use netdev_err() instead of WARN_ONCE() 2021-05-14 09:44:10 +02:00
ieee802154 net: ieee802154: forbid monitor for add llsec seclevel 2021-04-21 12:56:15 +02:00
ife
ipv4 net: Only allow init netns to set default tcp cong to a restricted algo 2021-05-14 09:44:33 +02:00
ipv6 ipv6: remove extra dev_hold() for fallback tunnels 2021-05-22 11:38:30 +02:00
iucv
kcm
key
l2tp
l3mdev
lapb
llc
mac80211 mac80211: clear the beacon's CRC after channel switch 2021-05-19 10:08:22 +02:00
mac802154
mpls
ncsi
netfilter netfilter: conntrack: Make global sysctls readonly in non-init netns 2021-05-19 10:08:33 +02:00
netlabel
netlink
netrom
nfc net:nfc:digital: Fix a double free in digital_tg_recv_dep_req 2021-05-14 09:44:32 +02:00
nsh
openvswitch openvswitch: fix stack OOB read while fragmenting IPv4 packets 2021-05-11 14:04:14 +02:00
packet
phonet
psample
qrtr
rds
rfkill
rose
rxrpc
sched net: sched: tapr: prevent cycle_time == 0 in parse_taprio_schedule 2021-05-19 10:08:23 +02:00
sctp sctp: fix a SCTP_MIB_CURRESTAB leak in sctp_sf_do_dupcook_b 2021-05-19 10:08:27 +02:00
smc smc: disallow TCP_ULP in smc_setsockopt() 2021-05-19 10:08:28 +02:00
strparser
sunrpc sunrpc: Fix misplaced barrier in call_decode 2021-05-19 10:08:27 +02:00
switchdev
tipc tipc: convert dest node's address to network order 2021-05-19 10:08:20 +02:00
tls
unix
vmw_vsock vsock/vmci: log once the failed queue pair allocation 2021-05-14 09:44:30 +02:00
wimax
wireless cfg80211: scan: drop entry from hidden_list on overflow 2021-05-14 09:44:13 +02:00
x25
xdp xsk: Simplify detection of empty and full rings 2021-05-22 11:38:27 +02:00
xfrm
compat.c
Kconfig
Makefile
socket.c
sysctl_net.c