OSDN Git Service

scsi: libcxgbi: fib6_ino reference in rt6_info is rcu protected
authorDavid Ahern <dsahern@gmail.com>
Tue, 11 Sep 2018 00:21:42 +0000 (17:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Sep 2018 07:08:00 +0000 (00:08 -0700)
commit67edf21e5adfd336f2ff08668eb09850943666d3
treeb0bb1659585480d3669539da7fd790cee1c03b5c
parent1fb0d4e8ddb1b64d6efbd01e44f8994644521419
scsi: libcxgbi: fib6_ino reference in rt6_info is rcu protected

The fib6_info reference in rt6_info is rcu protected. Add a helper
to extract prefsrc from and update cxgbi_check_route6 to use it.

Fixes: 0153167aebd0 ("net/ipv6: Remove rt6i_prefsrc")
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/scsi/cxgbi/libcxgbi.c
include/net/ip6_fib.h