switch-linux/net
dingtianhong 14134f6584 af_unix: dont send SCM_CREDENTIAL when dest socket is NULL
SCM_SCREDENTIALS should apply to write() syscalls only either source or destination
socket asserted SOCK_PASSCRED. The original implememtation in maybe_add_creds is wrong,
and breaks several LSB testcases ( i.e. /tset/LSB.os/netowkr/recvfrom/T.recvfrom).

Origionally-authored-by: Karel Srot <ksrot@redhat.com>
Signed-off-by: Ding Tianhong <dingtianhong@huawei.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-03-26 12:33:55 -04:00
..
9p
802
8021q 8021q: fix a potential use-after-free 2013-03-24 17:27:28 -04:00
appletalk
atm
ax25
batman-adv
bluetooth Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth 2013-03-18 15:17:11 -04:00
bridge bridge: fix crash when set mac address of br interface 2013-03-24 17:27:28 -04:00
caif
can
ceph
core net: remove a WARN_ON() in net_enable_timestamp() 2013-03-24 17:27:27 -04:00
dcb
dccp
decnet
dns_resolver
dsa
ethernet
ieee802154
ipv4 tcp: undo spurious timeout after SACK reneging 2013-03-24 17:27:28 -04:00
ipv6 ipv6: fix bad free of addrconf_init_net 2013-03-25 13:55:38 -04:00
ipx
irda net/irda: add missing error path release_sock call 2013-03-20 12:23:13 -04:00
iucv
key
l2tp l2tp: unhash l2tp sessions on delete, not on free 2013-03-20 12:10:39 -04:00
lapb
llc
mac80211
mac802154
netfilter ipvs: remove extra rcu lock 2013-03-19 21:21:52 +09:00
netlabel
netlink genetlink: trigger BUG_ON if a group name is too long 2013-03-20 12:05:51 -04:00
netrom
nfc
openvswitch Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jesse/openvswitch 2013-03-15 09:00:39 -04:00
packet
phonet
rds
rfkill
rose
rxrpc
sched
sctp
sunrpc
tipc
unix af_unix: dont send SCM_CREDENTIAL when dest socket is NULL 2013-03-26 12:33:55 -04:00
vmw_vsock
wimax
wireless
x25
xfrm
compat.c
Kconfig
Makefile
nonet.c
socket.c
sysctl_net.c