android_kernel_xiaomi_sm8350/net
Tom Tucker 2da2c21d75 Add a reference to sunrpc in svc_addsock
The svc_addsock function adds transport instances without taking a
reference on the sunrpc.ko module, however, the generic transport
destruction code drops a reference when a transport instance
is destroyed.

Add a try_module_get call to the svc_addsock function for transport
instances added by this function.

Signed-off-by: Tom Tucker <tom@opengridcomputing.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Tested-by: Jeff Moyer <jmoyer@redhat.com>
2008-11-24 10:15:01 -06:00
..
9p 9p: fix sparse warnings 2008-10-22 18:54:47 -05:00
802
8021q
appletalk
atm
ax25
bluetooth
bridge net: Fix disjunct computation of netdev features 2008-10-23 01:11:29 -07:00
can
core net: Fix disjunct computation of netdev features 2008-10-23 01:11:29 -07:00
dccp
decnet
dsa
econet
ethernet
ieee80211
ipv4 tcp: Restore ordering of TCP options for the sake of inter-operability 2008-10-23 14:06:35 -07:00
ipv6 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 2008-10-20 09:06:35 -07:00
ipx
irda
iucv
key
lapb
llc
mac80211
netfilter Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 2008-10-20 09:06:35 -07:00
netlabel
netlink
netrom
packet
phonet
rfkill
rose
rxrpc
sched Merge branch 'timers/range-hrtimers' into v28-range-hrtimers-for-linus-v2 2008-10-22 09:48:06 +02:00
sctp sctp: Fix to handle SHUTDOWN in SHUTDOWN_RECEIVED state 2008-10-23 01:01:18 -07:00
sunrpc Add a reference to sunrpc in svc_addsock 2008-11-24 10:15:01 -06:00
tipc
unix [PATCH] assorted path_lookup() -> kern_path() conversions 2008-10-23 05:12:52 -04:00
wanrouter
wireless wireless: fix regression caused by regulatory config option 2008-10-26 10:38:52 -07:00
x25
xfrm
compat.c
Kconfig
Makefile
nonet.c
socket.c
sysctl_net.c
TUNABLE