netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] ip_gre: add support for i/o_flags update
@ 2017-11-07  8:33 Xin Long
  2017-11-07  8:33 ` [PATCH net-next 1/2] ip_gre: add the support for i/o_flags update via netlink Xin Long
  2017-11-10  5:40 ` [PATCH net-next 0/2] ip_gre: add support for i/o_flags update David Miller
  0 siblings, 2 replies; 6+ messages in thread
From: Xin Long @ 2017-11-07  8:33 UTC (permalink / raw)
  To: network dev; +Cc: davem, Jiri Benc

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(-)

-- 
2.1.0

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-11-10  5:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-07  8:33 [PATCH net-next 0/2] ip_gre: add support for i/o_flags update Xin Long
2017-11-07  8:33 ` [PATCH net-next 1/2] ip_gre: add the support for i/o_flags update via netlink Xin Long
2017-11-07  8:33   ` [PATCH net-next 2/2] ip_gre: add the support for i/o_flags update via ioctl Xin Long
2017-11-07 17:38     ` William Tu
2017-11-07 17:34   ` [PATCH net-next 1/2] ip_gre: add the support for i/o_flags update via netlink William Tu
2017-11-10  5:40 ` [PATCH net-next 0/2] ip_gre: add support for i/o_flags update David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).