Jamie Bainbridge
105f5528b9
ipv6: check raw payload size correctly in ioctl
...
In situations where an skb is paged, the transport header pointer and
tail pointer can be the same because the skb contents are in frags.
This results in ioctl(SIOCINQ/FIONREAD) incorrectly returning a
length of 0 when the length to receive is actually greater than zero.
skb->len is already correctly set in ip6_input_finish() with
pskb_pull(), so use skb->len as it always returns the correct result
for both linear and paged data.
Signed-off-by: Jamie Bainbridge <[email protected] >
Signed-off-by: David S. Miller <[email protected] >
2017-04-26 14:59:35 -04:00
..
ila
lwtunnel: remove device arg to lwtunnel_build_state
2017-01-30 15:14:22 -05:00
netfilter
netfilter: nf_tables: fix mismatch in big-endian system
2017-03-13 13:30:28 +01:00
addrconf.c
net: ipv6: regenerate host route if moved to gc list
2017-04-25 14:04:44 -04:00
addrconf_core.c
addrlabel.c
af_inet6.c
ipv6: move stub initialization after ipv6 setup completion
2017-04-25 11:43:16 -04:00
ah6.c
IPsec: do not ignore crypto err in ah6 input
2017-01-16 12:57:48 +01:00
anycast.c
calipso.c
calipso: fix resource leak on calipso_genopt failure
2016-08-13 14:56:17 -07:00
datagram.c
net-timestamp: avoid use-after-free in ip_recv_error
2017-04-17 12:59:22 -04:00
esp6.c
esp: Introduce a helper to setup the trailer
2017-01-17 10:23:08 +01:00
esp6_offload.c
esp: Add a software GRO codepath
2017-02-15 11:04:11 +01:00
exthdrs.c
ipv6: fix source routing
2017-04-25 13:59:24 -04:00
exthdrs_core.c
exthdrs_offload.c
fib6_rules.c
net: flow: Add l3mdev flow update
2016-09-10 23:12:51 -07:00
fou6.c
icmp.c
net: for rate-limited ICMP replies save one atomic operation
2017-01-09 15:49:12 -05:00
inet6_connection_sock.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2017-01-28 10:33:06 -05:00
inet6_hashtables.c
inet: collapse ipv4/v6 rcv_saddr_equal functions into one
2017-01-18 13:04:28 -05:00
ip6_checksum.c
ip6_fib.c
ipv6: make ECMP route replacement less greedy
2017-03-13 12:16:17 -07:00
ip6_flowlabel.c
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
ip6_gre.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2017-02-07 16:29:30 -05:00
ip6_icmp.c
ip6_input.c
ipv6: drop non loopback packets claiming to originate from ::1
2017-04-17 15:09:23 -04:00
ip6_offload.c
net/tunnel: set inner protocol in network gro hooks
2017-03-09 13:19:52 -08:00
ip6_offload.h
ip6_output.c
ipv6: avoid write to a possibly cloned skb
2017-03-13 12:53:35 -07:00
ip6_tunnel.c
ipv6: check skb->protocol before lookup for nexthop
2017-04-26 14:51:26 -04:00
ip6_udp_tunnel.c
ip6_udp_tunnel: remove unused IPCB related codes
2016-11-02 15:18:36 -04:00
ip6_vti.c
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec
2017-03-07 15:00:37 -08:00
ip6mr.c
ip6mr: fix notification device destruction
2017-04-21 15:35:47 -04:00
ipcomp6.c
net: inet: Support UID-based routing in IP protocols.
2016-11-04 14:45:23 -04:00
ipv6_sockglue.c
net: Allow IP_MULTICAST_IF to set index to L3 slave
2016-12-30 15:24:47 -05:00
Kconfig
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec-next
2017-02-16 21:25:49 -05:00
Makefile
esp: Add a software GRO codepath
2017-02-15 11:04:11 +01:00
mcast.c
igmp, mld: Fix memory leak in igmpv3/mld_del_delrec()
2017-02-09 16:43:45 -05:00
mcast_snoop.c
mip6.c
ktime: Get rid of ktime_equal()
2016-12-25 17:21:23 +01:00
ndisc.c
net: ipv6: send unsolicited NA if enabled for all interfaces
2017-04-24 14:07:18 -04:00
netfilter.c
net: inet: Support UID-based routing in IP protocols.
2016-11-04 14:45:23 -04:00
output_core.c
ipv6: Set skb->protocol properly for local output
2016-12-02 12:34:22 -05:00
ping.c
ipv6: remove unnecessary inet6_sk check
2016-12-29 12:05:49 -05:00
proc.c
proc: Reduce cache miss in snmp6_seq_show
2016-09-30 01:50:44 -04:00
protocol.c
raw.c
ipv6: check raw payload size correctly in ioctl
2017-04-26 14:59:35 -04:00
reassembly.c
ipv6: on reassembly, record frag_max_size
2016-11-03 15:41:11 -04:00
route.c
net: ipv6: RTF_PCPU should not be settable from userspace
2017-04-21 13:55:33 -04:00
seg6.c
ipv6: sr: fix out-of-bounds access in SRH validation
2017-04-20 15:40:33 -04:00
seg6_hmac.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2017-02-07 16:29:30 -05:00
seg6_iptunnel.c
ipv6: sr: fix non static symbol warnings
2017-02-07 11:42:35 -05:00
sit.c
sit: fix a double free on error path
2017-02-08 13:12:22 -05:00
syncookies.c
syncookies: use SipHash in place of SHA1
2017-01-09 13:58:57 -05:00
sysctl_net_ipv6.c
tcp_ipv6.c
dccp/tcp: fix routing redirect race
2017-03-13 21:55:47 -07:00
tcpv6_offload.c
tunnel6.c
udp.c
ipv6: make sure to initialize sockc.tsflags before first use
2017-03-22 12:40:22 -07:00
udp_impl.h
udplite: call proper backlog handlers
2016-11-24 15:32:14 -05:00
udp_offload.c
udplite.c
udplite: call proper backlog handlers
2016-11-24 15:32:14 -05:00
xfrm6_input.c
esp: Add a software GRO codepath
2017-02-15 11:04:11 +01:00
xfrm6_mode_beet.c
xfrm6_mode_ro.c
xfrm6_mode_transport.c
esp: Add a software GRO codepath
2017-02-15 11:04:11 +01:00
xfrm6_mode_tunnel.c
xfrm6_output.c
xfrm6_policy.c
xfrm: policy: make policy backend const
2017-02-09 10:22:19 +01:00
xfrm6_protocol.c
xfrm: input: constify xfrm_input_afinfo
2017-02-09 10:22:17 +01:00
xfrm6_state.c
xfrm6_tunnel.c
netns: make struct pernet_operations::id unsigned int
2016-11-18 10:59:15 -05:00