OSDN Git Service

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)
commita0efab67aeb9406e30b6a19dd6dd335e24f6bd66
tree66dfb5c85c3238d5735a341a34a1064d33517a29
parentdd9d598c6657e2d2eed4497ff2c5d744015201dc
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