]> git.baikalelectronics.ru Git - kernel.git/commit
gre6: allow to update all parameters via rtnl
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Thu, 3 Dec 2015 16:21:50 +0000 (17:21 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Dec 2015 21:52:06 +0000 (16:52 -0500)
commitbce7e8b29e449f864dd525c029e27e3b41ac5afc
tree30335a6f18ec9cec2419c996b0ee92d445756bd1
parentba4cff91f491294a424aaa5deeced9c0ba1d5f96
gre6: allow to update all parameters via rtnl

Parameters were updated only if the kernel was unable to find the tunnel
with the new parameters, ie only if core pamareters were updated (keys,
addr, link, type).
Now it's possible to update ttl, hoplimit, flowinfo and flags.

Fixes: 3d8fd70921d8 ("gre: Support GRE over IPv6")
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_gre.c