netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Xin Long <lucien.xin@gmail.com>
To: network dev <netdev@vger.kernel.org>
Cc: davem@davemloft.net, Jiri Benc <jbenc@redhat.com>
Subject: [PATCH net-next 0/2] ip_gre: add support for i/o_flags update
Date: Tue,  7 Nov 2017 16:33:07 +0800	[thread overview]
Message-ID: <cover.1510043441.git.lucien.xin@gmail.com> (raw)

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

             reply	other threads:[~2017-11-07  8:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-07  8:33 Xin Long [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1510043441.git.lucien.xin@gmail.com \
    --to=lucien.xin@gmail.com \
    --cc=davem@davemloft.net \
    --cc=jbenc@redhat.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).