]> git.baikalelectronics.ru Git - kernel.git/commit
ip_gre: add the support for i/o_flags update via ioctl
authorXin Long <lucien.xin@gmail.com>
Tue, 7 Nov 2017 08:33:09 +0000 (16:33 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Nov 2017 05:39:53 +0000 (14:39 +0900)
commitd75ca85f1c4abe72e264d031937e75880ff24972
tree66dfb5c85c3238d5735a341a34a1064d33517a29
parentd4379ec584d31385ff771ad54a25545317915ca8
ip_gre: add the support for i/o_flags update via ioctl

As patch 'ip_gre: add the support for i/o_flags update via netlink'
did for netlink, we also need to do the same job for these update
via ioctl.

This patch is to update i/o_flags and call ipgre_link_update to
recalculate these gre properties after ip_tunnel_ioctl does the
common update.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: William Tu <u9012063@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_gre.c