kernel-hacking-2024-linux-s.../net
David S. Miller 4387ff75f2 [NET]: Fix net/socket.c warnings.
GCC (correctly) says:

net/socket.c: In function ‘sys_sendto’:
net/socket.c:1510: warning: ‘err’ may be used uninitialized in this function
net/socket.c: In function ‘sys_recvfrom’:
net/socket.c:1571: warning: ‘err’ may be used uninitialized in this function

sock_from_file() either returns filp->private_data or it
sets *err and returns NULL.

Callers return "err" on NULL, but filp->private_data could
be NULL.

Some minor rearrangements of error handling in sys_sendto
and sys_recvfrom solves the issue.

Signed-off-by: David S. Miller <davem@davemloft.net>
2007-02-08 15:06:08 -08:00
..
802
8021q
appletalk
atm [ATM]: Fix for crash in adummy_init() 2007-02-08 12:38:53 -08:00
ax25 [AX.25]: Fix unchecked ax25_linkfail_register uses 2006-12-17 21:59:11 -08:00
bluetooth [Bluetooth] Restrict well known PSM to privileged users 2007-01-22 22:00:45 +01:00
bridge [NET]: Add UDPLITE support in a few missing spots 2007-02-08 12:39:14 -08:00
core [NET]: unregister_netdevice as void 2007-02-08 12:39:06 -08:00
dccp [NET]: change layout of ehash table 2007-02-08 14:16:46 -08:00
decnet [NETLINK]: Don't BUG on undersized allocations 2007-02-08 12:38:41 -08:00
econet
ethernet
ieee80211 [PATCH] softmac: avoid assert in ieee80211softmac_wx_get_rate 2007-02-05 16:58:42 -05:00
ipv4 [NET]: change layout of ehash table 2007-02-08 14:16:46 -08:00
ipv6 [NET]: change layout of ehash table 2007-02-08 14:16:46 -08:00
ipx
irda [IRLAN]: handle out of memory errors 2007-02-08 12:39:08 -08:00
iucv [S390]: Add AF_IUCV socket support 2007-02-08 13:51:54 -08:00
key [PFKEYV2]: Extension for dynamic update of endpoint address(es) 2007-02-08 13:14:33 -08:00
lapb
llc
netfilter [NETFILTER]: add IPv6-capable TCPMSS target 2007-02-08 12:39:16 -08:00
netlabel NetLabel: correct CIPSO tag handling when adding new DOI definitions 2007-01-09 00:30:01 -08:00
netlink [AF_NETLINK]: module_put cleanup 2007-01-03 18:38:15 -08:00
netrom [AX.25]: Fix unchecked ax25_linkfail_register uses 2006-12-17 21:59:11 -08:00
packet [PACKET]: Fix skb->cb clobbering between aux and sockaddr 2007-02-08 12:38:47 -08:00
rose [AX.25]: Fix unchecked rose_add_loopback_neigh uses 2006-12-17 21:59:14 -08:00
rxrpc
sched [NETFILTER]: {ip,ip6}_tables: use struct xt_table instead of redefined structure names 2007-02-08 12:39:20 -08:00
sctp [SCTP]: Force update of the rto when processing HB-ACK 2007-01-30 14:36:14 -08:00
sunrpc [PATCH] knfsd: ratelimit some nfsd messages that are triggered by external events 2007-01-30 08:26:45 -08:00
tipc
unix
wanrouter [NET] net/wanrouter/wanmain.c: cleanups 2007-02-08 12:38:54 -08:00
x25 [X.25]: Adds /proc/net/x25/forward to view active forwarded calls. 2007-02-08 13:35:18 -08:00
xfrm [XFRM]: xfrm_migrate() needs exporting to modules. 2007-02-08 13:29:15 -08:00
compat.c
Kconfig [S390]: Rewrite of the IUCV base code, part 2 2007-02-08 13:37:42 -08:00
Makefile [S390]: Rewrite of the IUCV base code, part 2 2007-02-08 13:37:42 -08:00
nonet.c
socket.c [NET]: Fix net/socket.c warnings. 2007-02-08 15:06:08 -08:00
sysctl_net.c
TUNABLE