linux/net
Pieter Jansen van Vuuren 256c87c17c net: check tunnel option type in tunnel flags
Check the tunnel option type stored in tunnel flags when creating options
for tunnels. Thereby ensuring we do not set geneve, vxlan or erspan tunnel
options on interfaces that are not associated with them.

Make sure all users of the infrastructure set correct flags, for the BPF
helper we have to set all bits to keep backward compatibility.

Signed-off-by: Pieter Jansen van Vuuren <pieter.jansenvanvuuren@netronome.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-06-29 23:50:26 +09:00
..
6lowpan
9p
802
8021q net: Convert GRO SKB handling to list_head. 2018-06-26 11:33:04 +09:00
appletalk
atm
ax25
batman-adv net: drivers/net: Convert random_ether_addr to eth_random_addr 2018-06-23 10:49:14 +09:00
bluetooth
bpf
bpfilter
bridge
caif
can
ceph
core net: check tunnel option type in tunnel flags 2018-06-29 23:50:26 +09:00
dcb
dccp net: dccp: switch rx_tstamp_last_feedback to monotonic clock 2018-06-23 10:46:44 +09:00
decnet
dns_resolver
dsa net: sched: pass extack pointer to block binds and cb registration 2018-06-26 23:21:32 +09:00
ethernet net: Convert GRO SKB handling to list_head. 2018-06-26 11:33:04 +09:00
hsr
ieee802154
ife
ipv4 net: check tunnel option type in tunnel flags 2018-06-29 23:50:26 +09:00
ipv6 net: check tunnel option type in tunnel flags 2018-06-29 23:50:26 +09:00
iucv
kcm
key
l2tp l2tp: define helper for parsing struct sockaddr_pppol2tp* 2018-06-28 16:06:50 +09:00
l3mdev
lapb
llc
mac80211
mac802154
mpls
ncsi
netfilter netfilter: check if the socket netns is correct. 2018-06-28 22:21:32 +09:00
netlabel
netlink
netrom
nfc
nsh
openvswitch net: check tunnel option type in tunnel flags 2018-06-29 23:50:26 +09:00
packet
phonet
psample
qrtr
rds
rfkill
rose
rxrpc
sched net/sched: act_tunnel_key: add extended ack support 2018-06-29 23:50:26 +09:00
sctp sctp: add support for SCTP_REUSE_PORT sockopt 2018-06-29 22:20:55 +09:00
smc
strparser
sunrpc
switchdev
tipc
tls net/tls: Remove VLA usage on nonce 2018-06-27 10:39:52 +09:00
unix
vmw_vsock
wimax
wireless
x25
xdp
xfrm
compat.c
Kconfig
Makefile
socket.c
sysctl_net.c