]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit29da07c6bbd39b8823d646a04ed843821186f0b4
treeb0bb1659585480d3669539da7fd790cee1c03b5c
parentd71a480c6cddcd63656e4fcc2690a83d529b32a1
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: db2ed9d877ca ("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