Skip to content

ip_gre: add support for i/o_flags update

Xin Long netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ip_gre: add the support for i/o_flags update via netlinknet/ipv4/ip_gre.c+37 -21 reply
2/2ip_gre: add the support for i/o_flags update via ioctlnet/ipv4/ip_gre.c+16 -31 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchWilliam Tu
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/2] ip_gre: add support for i/o_flags update

ip_gre is using as many ip_tunnel apis as possible, newlink works fine as gre would do it's own part in .ndo_init. But when changing link, ip_tunnel_changelink doesn't even update i/o_flags, and also the update of these flags would cause some other gre's properties need to be updated or recalculated.

These two patch are to add i/o_flags update and then do adjustment on some gre's properties according to the new i/o_flags.

Xin Long (2):
ip_gre: add the support for i/o_flags update via netlink
ip_gre: add the support for i/o_flags update via ioctl

 net/ipv4/ip_gre.c | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 53 insertions(+), 5 deletions(-)
Signature · 1 line
2.1.0