linux/net
Paolo Abeni eacf807091 ipv6: move stub initialization after ipv6 setup completion
commit b7d6df5751 upstream.

The ipv6 stub pointer is currently initialized before the ipv6
routing subsystem: a 3rd party can access and use such stub
before the routing data is ready.
Moreover, such pointer is not cleared in case of initialization
error, possibly leading to dangling pointers usage.

This change addresses the above moving the stub initialization
at the end of ipv6 init code.

Fixes: 5f81bd2e5d ("ipv6: export a stub for IPv6 symbols used by vxlan")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Acked-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
History 2017-07-18 18:40:39 +01:00
..
9p p9_client_readdir() fix 2017-07-18 18:40:36 +01:00
802 neigh: use NEIGH_VAR_INIT in ndo_neigh_setup functions. 2014-01-16 11:31:58 -08:00
8021q net: Always untag vlan-tagged traffic on input. 2014-10-15 12:05:26 +02:00
appletalk appletalk: Fix socket referencing in skb 2014-07-08 19:39:43 -07:00
atm Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-06-12 14:27:40 -07:00
ax25 Revert "ax25: add link layer header validation function" 2016-06-15 21:29:20 +01:00
batman-adv batman-adv: Keep fragments equally sized 2017-07-18 18:40:06 +01:00
bluetooth Bluetooth: Fix potential NULL dereference in RFCOMM bind callback 2016-11-20 01:17:37 +00:00
bridge net: bridge: fix old ioctl unlocked net device walk 2017-03-16 02:27:17 +00:00
caif unix/caif: sk_socket can disappear when state is unlocked 2015-06-12 13:30:18 +01:00
can can: Fix kernel panic at security_sock_rcv_skb 2017-03-16 02:27:24 +00:00
ceph libceph: force GFP_NOIO for socket allocations 2017-07-18 18:40:21 +01:00
core net: properly release sk_frag.page 2017-07-18 18:40:15 +01:00
dcb net: Use netlink_ns_capable to verify the permisions of netlink messages 2014-04-24 13:44:54 -04:00
dccp dccp/tcp: fix routing redirect race 2017-07-18 18:40:12 +01:00
decnet decnet: Do not build routes to devices without decnet private data. 2017-03-16 02:27:15 +00:00
dns_resolver dns_resolver: Null-terminate the right string 2014-07-20 22:33:32 -07:00
dsa net: dsa: Fix off-by-one in switch address parsing 2015-08-10 17:10:19 +01:00
ethernet net: eth_type_trans() should use skb_header_pointer() 2014-01-16 15:30:31 -08:00
hsr hsr: replace del_timer by del_timer_sync 2014-03-27 15:28:06 -04:00
ieee802154 ieee802154: Fix sockaddr_ieee802154 implicit padding information leak. 2015-07-15 10:00:19 +01:00
ipv4 netfilter: nf_nat_snmp: Fix panic when snmp_trap_helper fails to register 2017-07-18 18:40:23 +01:00
ipv6 ipv6: move stub initialization after ipv6 setup completion 2017-07-18 18:40:39 +01:00
ipx ipx: call ipxitf_put() in ioctl error path 2017-06-05 21:17:23 +01:00
irda irda: Fix lockdep annotations in hashbin_delete(). 2017-03-16 02:27:15 +00:00
iucv af_iucv: Validate socket address length in iucv_sock_bind() 2016-03-09 10:38:48 +00:00
key af_key: Add lock to key dump 2017-07-18 18:40:29 +01:00
l2tp l2tp: don't mask errors in pppol2tp_getsockopt() 2017-07-18 18:40:34 +01:00
lapb net/lapb: re-send packets on timeout 2013-09-23 16:52:45 -04:00
llc net/llc: avoid BUG_ON() in skb_orphan() 2017-03-16 02:27:13 +00:00
mac80211 mac80211: reject ToDS broadcast data frames 2017-07-18 18:40:37 +01:00
mac802154 mac802154: don't deliver packets to devices that are down 2014-06-11 12:10:19 -07:00
mpls net: gso: use feature flag argument in all protocol gso handlers 2015-08-27 14:27:14 +01:00
netfilter netfilter: nft_log: restrict the log prefix length to 127 2017-03-16 02:27:05 +00:00
netlabel netlabel: add address family checks to netlbl_{sock,req}_delattr() 2016-11-20 01:16:39 +00:00
netlink netlink: remove mmapped netlink support 2017-04-04 22:21:56 +01:00
netrom net: Fix use after free by removing length arg from sk_data_ready callbacks. 2014-04-11 16:15:36 -04:00
nfc net: add __pskb_copy_fclone and pskb_copy_for_clone 2014-06-11 15:38:02 -07:00
openvswitch ovs: do not allocate memory from offline numa node 2015-10-28 10:33:20 +00:00
packet net/packet: fix overflow in check for tp_reserve 2017-06-05 21:17:21 +01:00
phonet phonet: properly unshare skbs in phonet_rcv() 2016-01-28 10:51:50 +00:00
rds rds: fix an infoleak in rds_inc_info_copy 2016-08-22 22:38:28 +01:00
rfkill rfkill: fix rfkill_fop_read wait_event usage 2016-02-25 00:18:36 +00:00
rose rose: limit sk_filter trim to payload 2017-02-23 03:54:46 +00:00
rxrpc rxrpc: Fix several cases where a padded len isn't checked in ticket decode 2017-07-02 17:13:03 +01:00
sched sch_dsmark: fix invalid skb_cow() usage 2017-07-18 18:40:20 +01:00
sctp sctp: do not inherit ipv6_{mc|ac|fl}_list from parent 2017-06-05 21:17:24 +01:00
sunrpc svcrpc: fix oops in absence of krb5 module 2017-03-16 02:27:08 +00:00
tipc tipc: check minimum bearer MTU 2017-02-23 03:54:42 +00:00
unix net: unix: properly re-increment inflight counter of GC discarded candidates 2017-07-18 18:40:20 +01:00
vmw_vsock VSOCK: do not disconnect socket when peer has shutdown SEND only 2017-03-16 02:27:16 +00:00
wimax wimax: remove dead code 2013-11-21 13:09:42 -05:00
wireless nl80211: fix dumpit error path RTNL deadlocks 2017-07-18 18:40:16 +01:00
x25 net: fix a kernel infoleak in x25 module 2016-06-15 21:29:34 +01:00
xfrm xfrm: policy: init locks early 2017-07-18 18:40:05 +01:00
compat.c net: compat: Update get_compat_msghdr() to match copy_msghdr_from_user() behaviour 2015-03-24 10:48:46 +00:00
Kconfig Merge branch 'for-3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup 2014-04-03 13:05:42 -07:00
Makefile net: move 6lowpan compression code to separate module 2014-01-15 15:36:38 -08:00
nonet.c llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
socket.c net: socket: fix recvmmsg not returning error from sock_error 2017-03-16 02:27:23 +00:00
sysctl_net.c net: Update the sysctl permissions handler to test effective uid/gid 2013-10-07 15:57:56 -04:00