netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andreas Schultz <aschultz@tpip.net>
To: osmocom-net-gprs <osmocom-net-gprs@lists.osmocom.org>
Cc: laforge <laforge@gnumonks.org>, pablo <pablo@netfilter.org>,
	netdev <netdev@vger.kernel.org>
Subject: Re: [PATCH net-next v4 0/7] gtp: misc improvements
Date: Tue, 21 Feb 2017 12:13:22 +0100 (CET)	[thread overview]
Message-ID: <1340046157.178143.1487675602597.JavaMail.zimbra@tpip.net> (raw)
In-Reply-To: <20170221101855.23940-1-aschultz@tpip.net>

Hi,

In case anyone want's to have a look at the changes that I'm working
on for follow up series can find them at:

  https://github.com/RoadRunnr/net-next/tree/gtp

Regards
Andreas

----- On Feb 21, 2017, at 11:18 AM, Andreas Schultz aschultz@tpip.net wrote:

> Hi Pablo,
> 
> This is v4 of the GTP improvements. Compared to v3 it contains mostly
> smallish naming and spelling fixes. It also drops the documentation
> patch, Harald did a better job with the documentation and the some things
> I described do not yet match the implementation. I'll readd the relevant
> parts with a follow up series.
> 
> This series lays the groundwork for removing the socket references from
> the GTP netdevice by removing duplicate code and simplifying the logic on
> some code paths.
> 
> It slighly changes the GTP genl API by making the socket parameters optional
> (though one of them is still required).
> 
> The removal of the socket references will break the 1:1 releation between
> GTP netdevice and GTP socket that prevents us to support multiple VRFs with
> overlaping IP addresse spaces attached to the same GTP-U entity (needed for
> multi APN support, comming a follow up series).
> 
> Pablo found a socket hold problem in v2. In order to solve that I had to
> switch the socket references from the struct socket to the internal
> struct sock. This should have no functionl impact, but we can now hang
> on to the reference without blocking user space from closing the GTP socket.
> 
> v3->v4:
> * drop the documentation patch
> * spelling fixes
> * pass nlattr instead of genl_info into gtp_find_dev,
>   makes the code slightly more compact and readable
> v2->v3:
> * add documentation to explain the goal of all these changes
> * incorporate review comments
> * switch from struct socket to struct sock
> 
> Regards
> Andreas
> 
> --
> Andreas Schultz (7):
>  gtp: switch from struct socket to struct sock for the GTP sockets
>  gtp: make GTP sockets in gtp_newlink optional
>  gtp: merge gtp_get_net and gtp_genl_find_dev
>  gtp: consolidate gtp socket rx path
>  gtp: unify genl_find_pdp and prepare for per socket lookup
>  gtp: consolidate pdp context destruction into helper
>  gtp: add socket to pdp context
> 
> drivers/net/gtp.c | 543 +++++++++++++++++++++++++++---------------------------
> 1 file changed, 269 insertions(+), 274 deletions(-)
> 
> --
> 2.10.2

  parent reply	other threads:[~2017-02-21 11:13 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-21 10:18 [PATCH net-next v4 0/7] gtp: misc improvements Andreas Schultz
2017-02-21 10:18 ` [PATCH net-next v4 1/7] gtp: switch from struct socket to struct sock for the GTP sockets Andreas Schultz
2017-02-21 10:18 ` [PATCH net-next v4 2/7] gtp: make GTP sockets in gtp_newlink optional Andreas Schultz
2017-02-21 10:18 ` [PATCH net-next v4 3/7] gtp: merge gtp_get_net and gtp_genl_find_dev Andreas Schultz
2017-02-21 10:18 ` [PATCH net-next v4 4/7] gtp: consolidate gtp socket rx path Andreas Schultz
2017-02-22 17:41   ` Tom Herbert
2017-02-23  9:19     ` Andreas Schultz
2017-02-23 16:28       ` Tom Herbert
2017-02-23 16:46         ` Harald Welte
2017-02-23 18:07           ` Tom Herbert
2017-02-23 21:17             ` Harald Welte
2017-02-21 10:18 ` [PATCH net-next v4 5/7] gtp: unify genl_find_pdp and prepare for per socket lookup Andreas Schultz
2017-02-21 10:18 ` [PATCH net-next v4 6/7] gtp: consolidate pdp context destruction into helper Andreas Schultz
2017-02-21 10:18 ` [PATCH net-next v4 7/7] gtp: add socket to pdp context Andreas Schultz
2017-02-21 11:13 ` Andreas Schultz [this message]
2017-02-21 18:15 ` [PATCH net-next v4 0/7] gtp: misc improvements 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=1340046157.178143.1487675602597.JavaMail.zimbra@tpip.net \
    --to=aschultz@tpip.net \
    --cc=laforge@gnumonks.org \
    --cc=netdev@vger.kernel.org \
    --cc=osmocom-net-gprs@lists.osmocom.org \
    --cc=pablo@netfilter.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).