netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/18] gtp: fixes and support multiple VRF's per GTP socket
@ 2017-01-24 15:28 Andreas Schultz
  2017-01-24 15:28 ` [PATCH v2 01/18] gtp: add genl family modules alias Andreas Schultz
                   ` (18 more replies)
  0 siblings, 19 replies; 21+ messages in thread
From: Andreas Schultz @ 2017-01-24 15:28 UTC (permalink / raw)
  To: Pablo Neira; +Cc: netdev, Lionel Gauthier, openbsc, Harald Welte

The current linking of GTP network devices and GTP enabled sockets means that
we can not have multiple VRF's per GTP socket. This series seperates the
sockets from network device, makes sockets attached to GTP network device
optional and adds a API function to enable GTP encapsulation on socket
without having to create a new GTP device.

It is still possible to use the old API. The network device attached socket is
then used when no socket is specified on PDP context creation.

During that work some smaller problems where found and fixes for them are
included.

v2 changes:

 * the socket that is hold by the pdp context has to be release in a rcu
   callback. Otherwise a stray GTP rx could end uo with an invalid socket.
 * accessing the skb->sk field in gtp_rx is invalid, that field has no
   been populated at that point
 * add dst_cache to speed up the routing

Regards
Andreas

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

end of thread, other threads:[~2017-01-24 16:46 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-24 15:28 [PATCH v2 00/18] gtp: fixes and support multiple VRF's per GTP socket Andreas Schultz
2017-01-24 15:28 ` [PATCH v2 01/18] gtp: add genl family modules alias Andreas Schultz
2017-01-24 15:28 ` [PATCH v2 02/18] gtp: clear DF bit on GTP packet tx Andreas Schultz
2017-01-24 15:28 ` [PATCH v2 03/18] gtp: make GTP sockets in gtp_newlink optional Andreas Schultz
2017-01-24 15:28 ` [PATCH v2 04/18] gtp: return error ptr in find pdp helpers Andreas Schultz
2017-01-24 15:28 ` [PATCH v2 05/18] gtp: unify genl_find_pdp and prepare for per socket lookup Andreas Schultz
2017-01-24 15:28 ` [PATCH v2 06/18] gtp: fix cross netns recv on gtp socket Andreas Schultz
2017-01-24 15:28 ` [PATCH v2 07/18] gtp: remove unnecessary rcu_read_lock Andreas Schultz
2017-01-24 15:28 ` [PATCH v2 08/18] gtp: consolidate pdp context destruction into helper Andreas Schultz
2017-01-24 15:28 ` [PATCH v2 09/18] gtp: use addr_hash when traversing pdp contexts Andreas Schultz
2017-01-24 15:28 ` [PATCH v2 10/18] gtp: add socket to pdp context Andreas Schultz
2017-01-24 15:28 ` [PATCH v2 11/18] gtp: consolidate gtp socket rx path Andreas Schultz
2017-01-24 15:28 ` [PATCH v2 12/18] gtp: let userspace handle packets for invalid tunnels Andreas Schultz
2017-01-24 15:28 ` [PATCH v2 13/18] gtp: replace netdev_dbg and KERN_DEBUG printk with pr_debug Andreas Schultz
2017-01-24 15:28 ` [PATCH v2 14/18] gtp: move TEID hash to per socket structure Andreas Schultz
2017-01-24 15:28 ` [PATCH v2 15/18] gtp: rename gtp hashtable helpers Andreas Schultz
2017-01-24 15:28 ` [PATCH v2 16/18] gtp: add genl cmd to enable GTP encapsulation on UDP socket Andreas Schultz
2017-01-24 15:28 ` [PATCH v2 17/18] gtp: add support to select a GTP socket during PDP context creation Andreas Schultz
2017-01-24 15:28 ` [PATCH v2 18/18] gtp: add dst_cache support Andreas Schultz
2017-01-24 15:39 ` [PATCH v2 00/18] gtp: fixes and support multiple VRF's per GTP socket Harald Welte
2017-01-24 16:46   ` 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).