net: ipv6: fix build failure if IPV6_ROUTE_INFO config is enabled
authorAmit Pundir <amit.pundir@linaro.org>
Tue, 24 Mar 2015 22:59:14 +0000 (04:29 +0530)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:51:36 +0000 (13:51 -0800)
commitd005e957b7903ea472f42a722a6749f779161105
treeeae99bc2657d339ff6f4469f882bc1f071a65255
parent6dd69fdc001f7e50bb6facdd981365abe8e5f6dc
net: ipv6: fix build failure if IPV6_ROUTE_INFO config is enabled

Pass correct arguments to rt6_get_route_info() function, otherwise
we run into following Kernel build failure:
----------
  CC      net/ipv6/route.o
net/ipv6/route.c: In function ‘rt6_route_rcv’:
net/ipv6/route.c:746:27: error: ‘net’ undeclared (first use in this function)
net/ipv6/route.c:746:27: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [net/ipv6/route.o] Error 1
make[1]: *** [net/ipv6] Error 2
make: *** [net] Error 2
----------

Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
net/ipv6/route.c