diff options
author | Paolo Abeni <pabeni@redhat.com> | 2017-04-24 15:18:28 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-25 18:43:16 +0300 |
commit | b7d6df57516f8e6a1c847b822ec2a62555455f88 (patch) | |
tree | 43d9faf0dde9e65a188eac09d951d937c423b3f6 /Documentation/IPMI.txt | |
parent | 72ec0bc64b9a5d8e0efcb717abfc757746b101b7 (diff) | |
download | linux-b7d6df57516f8e6a1c847b822ec2a62555455f88.tar.xz |
ipv6: move stub initialization after ipv6 setup completion
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: 5f81bd2e5d80 ("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>
Diffstat (limited to 'Documentation/IPMI.txt')
0 files changed, 0 insertions, 0 deletions