Hannes Frederic Sowa
e5aed006be
udp: prevent skbs lingering in tunnel socket queues
...
In case we find a socket with encapsulation enabled we should call
the encap_recv function even if just a udp header without payload is
available. The callbacks are responsible for correctly verifying and
dropping the packets.
Also, in case the header validation fails for geneve and vxlan we
shouldn't put the skb back into the socket queue, no one will pick
them up there. Instead we can simply discard them in the respective
encap_recv functions.
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-05-20 19:56:02 -04:00
..
ila
ila: ipv6/ila: fix nlsize calculation for lwtunnel
2016-05-10 16:00:25 -04:00
netfilter
netfilter: x_tables: get rid of old and inconsistent debugging
2016-05-05 16:39:51 +02:00
addrconf.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2016-04-27 15:43:10 -04:00
addrconf_core.c
addrlabel.c
af_inet6.c
ah6.c
anycast.c
datagram.c
sock: propagate __sock_cmsg_send() error
2016-05-16 13:46:23 -04:00
esp6.c
exthdrs.c
ipv6: rename IP6_INC_STATS_BH()
2016-04-27 22:48:24 -04:00
exthdrs_core.c
exthdrs_offload.c
fib6_rules.c
fou6.c
fou: Add encap ops for IPv6 tunnels
2016-05-20 18:03:16 -04:00
icmp.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2016-05-09 15:59:24 -04:00
inet6_connection_sock.c
inet6_hashtables.c
net: rename NET_{ADD|INC}_STATS_BH()
2016-04-27 22:48:24 -04:00
ip6_checksum.c
ip6_fib.c
net: vrf: Create FIB tables on link create
2016-05-06 15:51:47 -04:00
ip6_flowlabel.c
ipv6: add new struct ipcm6_cookie
2016-05-03 16:08:14 -04:00
ip6_gre.c
ip6_gre: Do not allow segmentation offloads GRE_CSUM is enabled with FOU/GUE
2016-05-20 19:25:52 -04:00
ip6_icmp.c
ip6_input.c
ipv6: Change "final" protocol processing for encapsulation
2016-05-20 18:03:16 -04:00
ip6_offload.c
ip4ip6: Support for GSO/GRO
2016-05-20 18:03:17 -04:00
ip6_offload.h
ip6_output.c
ipv6: add new struct ipcm6_cookie
2016-05-03 16:08:14 -04:00
ip6_tunnel.c
ipv6: Don't reset inner headers in ip6_tnl_xmit
2016-05-20 18:03:17 -04:00
ip6_udp_tunnel.c
ip6_vti.c
ip6mr.c
ipv6: rename IP6_INC_STATS_BH()
2016-04-27 22:48:24 -04:00
ipcomp6.c
ipv6_sockglue.c
ipv6: add new struct ipcm6_cookie
2016-05-03 16:08:14 -04:00
Kconfig
gre6: add Kconfig dependency for NET_IPGRE_DEMUX
2016-05-04 14:12:36 -04:00
Makefile
fou: Add encap ops for IPv6 tunnels
2016-05-20 18:03:16 -04:00
mcast.c
mcast_snoop.c
mip6.c
ndisc.c
netfilter.c
output_core.c
ping.c
ipv6: add new struct ipcm6_cookie
2016-05-03 16:08:14 -04:00
proc.c
protocol.c
raw.c
ipv6: add new struct ipcm6_cookie
2016-05-03 16:08:14 -04:00
reassembly.c
ipv6: rename IP6_INC_STATS_BH()
2016-04-27 22:48:24 -04:00
route.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2016-05-15 13:32:48 -04:00
sit.c
net: define gso types for IPx over IPv4 and IPv6
2016-05-20 18:03:15 -04:00
syncookies.c
net: rename NET_{ADD|INC}_STATS_BH()
2016-04-27 22:48:24 -04:00
sysctl_net_ipv6.c
tcp_ipv6.c
tcp: minor optimizations around tcp_hdr() usage
2016-05-16 13:46:23 -04:00
tcpv6_offload.c
tunnel6.c
udp.c
udp: prevent skbs lingering in tunnel socket queues
2016-05-20 19:56:02 -04:00
udp_impl.h
udp_offload.c
gso: Remove arbitrary checks for unsupported GSO
2016-05-20 18:03:15 -04:00
udplite.c
xfrm6_input.c
xfrm6_mode_beet.c
xfrm6_mode_ro.c
xfrm6_mode_transport.c
xfrm6_mode_tunnel.c
xfrm6_output.c
xfrm6_policy.c
xfrm6_protocol.c
xfrm6_state.c
xfrm6_tunnel.c