netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* pull request (net-next): ipsec-next 2014-03-18
@ 2014-03-18  7:21 Steffen Klassert
  2014-03-18  7:21 ` [PATCH 01/13] xfrm: rename struct xfrm_filter Steffen Klassert
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: Steffen Klassert @ 2014-03-18  7:21 UTC (permalink / raw)
  To: David Miller; +Cc: Herbert Xu, Steffen Klassert, netdev

One patch to rename a newly introduced struct. The rest is
the rework of the IPsec virtual tunnel interface for ipv6 to
support inter address family tunneling and namespace crossing.

1) Rename the newly introduced struct xfrm_filter to avoid a
   conflict with iproute2. From Nicolas Dichtel.

2) Introduce xfrm_input_afinfo to access the address family
   dependent tunnel callback functions properly.

3) Add and use a IPsec protocol multiplexer for ipv6.

4) Remove dst_entry caching. vti can lookup multiple different
   dst entries, dependent of the configured xfrm states. Therefore
   it does not make to cache a dst_entry.

5) Remove caching of flow informations. vti6 does not use the the
   tunnel endpoint addresses to do route and xfrm lookups.

6) Update the vti6 to use its own receive hook.

7) Remove the now unused xfrm_tunnel_notifier. This was used from vti
   and is replaced by the IPsec protocol multiplexer hooks.

8) Support inter address family tunneling for vti6.

9) Check if the tunnel endpoints of the xfrm state and the vti interface
   are matching and return an error otherwise.

10) Enable namespace crossing for vti devices.

Please pull or let me know if there are problems.

Thanks!

The following changes since commit e50287be7c007a10e6e2e3332e52466faf4b6a04:

  be2net: dma_sync each RX frag before passing it to the stack (2014-03-04 16:17:53 -0500)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec-next.git master

for you to fetch changes up to 61220ab349485d911083d0b7990ccd3db6c63297:

  vti6: Enable namespace changing (2014-03-14 07:28:09 +0100)

----------------------------------------------------------------
Nicolas Dichtel (1):
      xfrm: rename struct xfrm_filter

Steffen Klassert (12):
      xfrm: Introduce xfrm_input_afinfo to access the the callbacks properly
      xfrm6: Add IPsec protocol multiplexer
      esp6: Use the IPsec protocol multiplexer API
      ah6: Use the IPsec protocol multiplexer API
      ipcomp6: Use the IPsec protocol multiplexer API
      vti6: Remove dst_entry caching
      vti6: Remove caching of flow informations.
      vti6: Update the ipv6 side to use its own receive hook.
      xfrm6: Remove xfrm_tunnel_notifier
      vti6: Support inter address family tunneling.
      vti6: Check the tunnel endpoints of the xfrm state and the vti interface
      vti6: Enable namespace changing

 include/net/xfrm.h           |   50 ++++---
 include/uapi/linux/xfrm.h    |    4 +-
 net/ipv4/xfrm4_policy.c      |    1 +
 net/ipv4/xfrm4_protocol.c    |   13 +-
 net/ipv6/Makefile            |    2 +-
 net/ipv6/ah6.c               |   24 ++--
 net/ipv6/esp6.c              |   26 ++--
 net/ipv6/ip6_vti.c           |  308 +++++++++++++++++++++++++++++-------------
 net/ipv6/ipcomp6.c           |   22 ++-
 net/ipv6/xfrm6_mode_tunnel.c |   63 ---------
 net/ipv6/xfrm6_policy.c      |    7 +
 net/ipv6/xfrm6_protocol.c    |  270 ++++++++++++++++++++++++++++++++++++
 net/key/af_key.c             |    2 +-
 net/xfrm/xfrm_input.c        |   75 ++++++++++
 net/xfrm/xfrm_state.c        |    4 +-
 net/xfrm/xfrm_user.c         |    8 +-
 16 files changed, 668 insertions(+), 211 deletions(-)
 create mode 100644 net/ipv6/xfrm6_protocol.c

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

end of thread, other threads:[~2014-03-18 18:15 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-18  7:21 pull request (net-next): ipsec-next 2014-03-18 Steffen Klassert
2014-03-18  7:21 ` [PATCH 01/13] xfrm: rename struct xfrm_filter Steffen Klassert
2014-03-18  7:21 ` [PATCH 02/13] xfrm: Introduce xfrm_input_afinfo to access the the callbacks properly Steffen Klassert
2014-03-18  7:21 ` [PATCH 03/13] xfrm6: Add IPsec protocol multiplexer Steffen Klassert
2014-03-18  7:21 ` [PATCH 04/13] esp6: Use the IPsec protocol multiplexer API Steffen Klassert
2014-03-18  7:21 ` [PATCH 05/13] ah6: " Steffen Klassert
2014-03-18  7:21 ` [PATCH 06/13] ipcomp6: " Steffen Klassert
2014-03-18  7:21 ` [PATCH 07/13] vti6: Remove dst_entry caching Steffen Klassert
2014-03-18  7:21 ` [PATCH 08/13] vti6: Remove caching of flow informations Steffen Klassert
2014-03-18  7:21 ` [PATCH 09/13] vti6: Update the ipv6 side to use its own receive hook Steffen Klassert
2014-03-18  7:21 ` [PATCH 10/13] xfrm6: Remove xfrm_tunnel_notifier Steffen Klassert
2014-03-18  7:21 ` [PATCH 11/13] vti6: Support inter address family tunneling Steffen Klassert
2014-03-18  7:21 ` [PATCH 12/13] vti6: Check the tunnel endpoints of the xfrm state and the vti interface Steffen Klassert
2014-03-18  7:21 ` [PATCH 13/13] vti6: Enable namespace changing Steffen Klassert
2014-03-18 18:14 ` pull request (net-next): ipsec-next 2014-03-18 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).