OSDN Git Service

ipv6 addrconf: add IFA_F_NOPREFIXROUTE flag to suppress creation of IP6 routes
authorThomas Haller <thaller@redhat.com>
Wed, 15 Jan 2014 14:36:58 +0000 (15:36 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Jan 2014 01:00:40 +0000 (17:00 -0800)
commit761aac737eb11901c382a3f021dead59a26983fc
tree0153d7759a5b2914fe53667396764e71a67bd141
parent6631c5cea8687cf4d36327fdbceb0691cd5d2e29
ipv6 addrconf: add IFA_F_NOPREFIXROUTE flag to suppress creation of IP6 routes

When adding/modifying an IPv6 address, the userspace application needs
a way to suppress adding a prefix route. This is for example relevant
together with IFA_F_MANAGERTEMPADDR, where userspace creates autoconf
generated addresses, but depending on on-link, no route for the
prefix should be added.

Signed-off-by: Thomas Haller <thaller@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/if_addr.h
net/ipv6/addrconf.c