tmp_suning_uos_patched/net
Pavel Emelyanov 5421ae0153 scm: fix scm_fp_list->list initialization made in wrong place
This is the next page of the scm recursion story (the commit 
f8d570a4 net: Fix recursive descent in __scm_destroy()).

In function scm_fp_dup(), the INIT_LIST_HEAD(&fpl->list) of newly
created fpl is done *before* the subsequent memcpy from the old 
structure and thus the freshly initialized list is overwritten.

But that's OK, since this initialization is not required at all,
since the fpl->list is list_add-ed at the destruction time in any
case (and is unused in other code), so I propose to drop both
initializations, rather than moving it after the memcpy.

Please, correct me if I miss something significant.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-11-14 14:51:45 -08:00
..
9p 9p: restrict RDMA usage 2008-11-12 23:33:57 -08:00
802
8021q vlan: Fix typos in proc output string 2008-11-10 13:37:40 -08:00
appletalk
atm
ax25
bluetooth
bridge
can
core scm: fix scm_fp_list->list initialization made in wrong place 2008-11-14 14:51:45 -08:00
dccp
decnet
dsa dsa: fix master interface allmulti/promisc handling 2008-11-10 21:53:12 -08:00
econet
ethernet
ieee80211
ipv4 net: shy netns_ok check 2008-11-12 23:23:51 -08:00
ipv6 ipv6: routing header fixes 2008-11-12 22:59:21 -08:00
ipx
irda
iucv
key
lapb
llc
mac80211 mac80211: fix notify_mac function 2008-11-12 16:49:53 -05:00
netfilter netfilter: payload_len is be16, add size of struct rather than size of pointer 2008-11-10 16:46:06 -08:00
netlabel
netlink
netrom
packet
phonet
rfkill
rose
rxrpc
sched
sctp
sunrpc
tipc
unix net: unix: fix inflight counting bug in garbage collector 2008-11-09 11:17:33 -08:00
wanrouter
wireless
x25
xfrm
compat.c net: put_cmsg_compat + SO_TIMESTAMP[NS]: use same name for value as caller 2008-11-12 01:54:56 -08:00
Kconfig
Makefile
nonet.c
socket.c
sysctl_net.c
TUNABLE