WSL2-Linux-Kernel/net/netrom
David S. Miller 48c5732f4a netrom: Kill spurious NULL'ing of sk->sk_socket.
In nr_release(), one code path calls sock_orphan() which
will NULL out sk->sk_socket already.

In the other case, handling states other than NR_STATE_{0,1,2,3},
seems to not be possible other than due to bugs.  Even for an
uninitialized nr->state value, that would be zero or NR_STATE_0.
It might be wise to stick a WARN_ON() here.

Signed-off-by: David S. Miller <davem@davemloft.net>
2008-06-17 03:19:58 -07:00
..
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
af_netrom.c netrom: Kill spurious NULL'ing of sk->sk_socket. 2008-06-17 03:19:58 -07:00
nr_dev.c [NET]: Correct two mistaken skb_reset_mac_header() conversions. 2007-12-20 00:25:54 -08:00
nr_in.c [SK_BUFF]: Some more conversions to skb_copy_from_linear_data 2007-04-25 22:28:30 -07:00
nr_loopback.c [SK_BUFF]: Introduce skb_copy_from_linear_data{_offset} 2007-04-25 22:28:23 -07:00
nr_out.c [SK_BUFF]: Introduce skb_copy_to_linear_data{_offset} 2007-04-25 22:28:29 -07:00
nr_route.c [NET]: Make the device list and device lookups per namespace. 2007-10-10 16:49:10 -07:00
nr_subr.c [SK_BUFF]: Introduce skb_copy_from_linear_data{_offset} 2007-04-25 22:28:23 -07:00
nr_timer.c [NET]: Convert init_timer into setup_timer 2008-01-28 14:53:35 -08:00
sysctl_net_netrom.c [NET]: Simple ctl_table to ctl_path conversions. 2008-01-28 15:01:07 -08:00