summaryrefslogtreecommitdiffstats
path: root/include/net/if_inet6.h
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-04-09 03:47:15 +0000
committerDavid S. Miller <davem@davemloft.net>2013-04-09 13:12:23 -0400
commitfc403832f7bd94014fe3d965e0652a857160f1c9 (patch)
treed05ae6821dbd6a46db1fee600aa04b6b871ce186 /include/net/if_inet6.h
parent914faa147bd2d086ed7257ad785d74cfe48d30ad (diff)
net: ipv6: also allow token to be set when device not ready
When we set the iftoken in inet6_set_iftoken(), we return -EINVAL when the device does not have flag IF_READY. This is however not necessary and rather an artificial usability barrier, since we simply can set the token despite that, and in case the device is ready, we just send out our rs, otherwise ifup et al. will do this for us anyway. Suggested-by: Hannes Frederic Sowa <hannes@stressinduktion.org> Signed-off-by: Daniel Borkmann <dborkman@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/if_inet6.h')
0 files changed, 0 insertions, 0 deletions