OSDN Git Service

ANDROID: net: ipv6: fix virtual tunneling build
authorAmit Pundir <amit.pundir@linaro.org>
Wed, 15 Apr 2015 14:59:09 +0000 (20:29 +0530)
committerDmitry Shmidt <dimitrysh@google.com>
Thu, 19 Jan 2017 21:32:36 +0000 (13:32 -0800)
commit3fc1c613eaf81dfeee021e7255582b7e33ddcec9
tree383a5c074a5901eb274fbd2959c8ec44b1d73fe5
parent3823c8b26e6e64427898d75c4f20bb44f04ef438
ANDROID: net: ipv6: fix virtual tunneling build

IPv6 PMTUD has been updated to support UID-based routing.

Pass INVALID_UID as the socket UID to ip6_update_pmtu(),
otherwise we run into following build error:
----------------
  CC      net/ipv6/ip6_vti.o
net/ipv6/ip6_vti.c: In function ‘vti6_err’:
net/ipv6/ip6_vti.c:559:3: error: too few arguments to function ‘ip6_update_pmtu’
In file included from include/net/ip_tunnels.h:19:0,
                 from net/ipv6/ip6_vti.c:44:
include/net/ip6_route.h:110:6: note: declared here
make[2]: *** [net/ipv6/ip6_vti.o] Error 1
----------------

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