linux/drivers/infiniband
Paolo Abeni eea40b8f62 infiniband: call ipv6 route lookup via the stub interface
The infiniband address handle can be triggered to resolve an ipv6
address in response to MAD packets, regardless of the ipv6
module being disabled via the kernel command line argument.

That will cause a call into the ipv6 routing code, which is not
initialized, and a conseguent oops.

This commit addresses the above issue replacing the direct lookup
call with an indirect one via the ipv6 stub, which is properly
initialized according to the ipv6 status (e.g. if ipv6 is
disabled, the routing lookup fails gracefully)

Cc: stable@vger.kernel.org # 3.12+
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-04-28 12:55:17 -04:00
..
core infiniband: call ipv6 route lookup via the stub interface 2017-04-28 12:55:17 -04:00
hw RDMA/qedr: add support for send+invalidate in poll CQ 2017-04-28 12:47:57 -04:00
sw IB: Replace ib_umem page_size by page_shift 2017-04-25 15:40:28 -04:00
ulp IB/iser: fix spelling mistake: "unexepected" -> "unexpected" 2017-04-25 14:06:49 -04:00
Kconfig IB/opa-vnic: Virtual Network Interface Controller (VNIC) netdev 2017-04-20 12:01:38 -04:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00