Tetsuo Handa
f59fc7f30b
[IPV4/IPV6]: Setting 0 for unused port field in RAW IP recvmsg().
...
From: Tetsuo Handa [email protected]
The recvmsg() for raw socket seems to return random u16 value
from the kernel stack memory since port field is not initialized.
But I'm not sure this patch is correct.
Does raw socket return any information stored in port field?
[ BSD defines RAW IP recvmsg to return a sin_port value of zero.
This is described in Steven's TCP/IP Illustrated Volume 2 on
page 1055, which is discussing the BSD rip_input() implementation. ]
Acked-by: YOSHIFUJI Hideaki <[email protected] >
Signed-off-by: David S. Miller <[email protected] >
2006-07-25 17:05:35 -07:00
..
netfilter
[NET]: add+use poison defines
2006-07-03 19:47:27 -07:00
addrconf.c
[IPV6]: Use ipv6_addr_src_scope for link address sorting.
2006-07-12 13:58:53 -07:00
af_inet6.c
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
2006-06-30 15:40:17 -07:00
ah6.c
Remove obsolete #include <linux/config.h>
2006-06-30 19:25:36 +02:00
anycast.c
Remove obsolete #include <linux/config.h>
2006-06-30 19:25:36 +02:00
datagram.c
esp6.c
Remove obsolete #include <linux/config.h>
2006-06-30 19:25:36 +02:00
exthdrs.c
[IPV6]: Added GSO support for TCPv6
2006-06-30 14:12:06 -07:00
exthdrs_core.c
icmp.c
[PATCH] for_each_possible_cpu: network codes
2006-04-11 06:18:31 -07:00
inet6_connection_sock.c
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
2006-06-30 15:40:17 -07:00
inet6_hashtables.c
Remove obsolete #include <linux/config.h>
2006-06-30 19:25:36 +02:00
ip6_fib.c
Remove obsolete #include <linux/config.h>
2006-06-30 19:25:36 +02:00
ip6_flowlabel.c
Remove obsolete #include <linux/config.h>
2006-06-30 19:25:36 +02:00
ip6_input.c
[IPV6]: Clean skb cb on IPv6 input.
2006-07-24 23:44:44 -07:00
ip6_output.c
[NET] gso: Add skb_is_gso
2006-07-08 13:34:32 -07:00
ip6_tunnel.c
[NET]: Conversions from kmalloc+memset to k(z|c)alloc.
2006-07-21 14:51:30 -07:00
ipcomp6.c
[IPCOMP]: Fix truesize after decompression
2006-07-12 13:58:55 -07:00
ipv6_sockglue.c
[NET] gso: Fix up GSO packets with broken checksums
2006-07-08 13:34:56 -07:00
ipv6_syms.c
Remove obsolete #include <linux/config.h>
2006-06-30 19:25:36 +02:00
Kconfig
[IPSEC] xfrm: Abstract out encapsulation modes
2006-06-17 21:28:39 -07:00
Makefile
[IPSEC] xfrm: Abstract out encapsulation modes
2006-06-17 21:28:39 -07:00
mcast.c
Remove obsolete #include <linux/config.h>
2006-06-30 19:25:36 +02:00
ndisc.c
Remove obsolete #include <linux/config.h>
2006-06-30 19:25:36 +02:00
netfilter.c
[NETFILTER]: Fix build with CONFIG_NETFILTER=y/m on IA64
2006-04-09 22:25:49 -07:00
proc.c
Remove obsolete #include <linux/config.h>
2006-06-30 19:25:36 +02:00
protocol.c
raw.c
[IPV4/IPV6]: Setting 0 for unused port field in RAW IP recvmsg().
2006-07-25 17:05:35 -07:00
reassembly.c
Remove obsolete #include <linux/config.h>
2006-06-30 19:25:36 +02:00
route.c
Remove obsolete #include <linux/config.h>
2006-06-30 19:25:36 +02:00
sit.c
[IPV4]: Get rid of redundant IPCB->opts initialisation
2006-07-21 14:29:53 -07:00
sysctl_net_ipv6.c
Remove obsolete #include <linux/config.h>
2006-06-30 19:25:36 +02:00
tcp_ipv6.c
[NET] gso: Fix up GSO packets with broken checksums
2006-07-08 13:34:56 -07:00
tunnel6.c
[INET]: Move no-tunnel ICMP error to tunnel4/tunnel6
2006-04-09 22:25:25 -07:00
udp.c
Remove obsolete #include <linux/config.h>
2006-06-30 19:25:36 +02:00
xfrm6_input.c
[IPSEC] xfrm: Abstract out encapsulation modes
2006-06-17 21:28:39 -07:00
xfrm6_mode_transport.c
[IPSEC] proto: Move transport mode input path into xfrm_mode_transport
2006-06-17 21:28:41 -07:00
xfrm6_mode_tunnel.c
[IPSEC] xfrm: Abstract out encapsulation modes
2006-06-17 21:28:39 -07:00
xfrm6_output.c
[NET] gso: Add skb_is_gso
2006-07-08 13:34:32 -07:00
xfrm6_policy.c
Remove obsolete #include <linux/config.h>
2006-06-30 19:25:36 +02:00
xfrm6_state.c
[IPSEC] xfrm: Undo afinfo lock proliferation
2006-06-17 21:28:37 -07:00
xfrm6_tunnel.c
[IPV6] xfrm6_tunnel: Delete debugging code.
2006-07-24 13:49:06 -07:00