All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH ipsec-next v2 0/5] xfrm: ipv6: remove hdr_off indirection
@ 2021-06-11 10:50 Florian Westphal
  2021-06-11 10:50 ` [PATCH ipsec-next v2 1/5] xfrm: ipv6: add xfrm6_hdr_offset helper Florian Westphal
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Florian Westphal @ 2021-06-11 10:50 UTC (permalink / raw)
  To: netdev; +Cc: steffen.klassert, herbert, Florian Westphal

v2: fix build failure with MIP6=y in last patch.

IPV6 xfrm moves mutable extension headers to make space for the
encapsulation header.

For Mobile ipv6 sake this uses an indirect call (ipv6 can be built
as module).

These patches remove those indirections by placing a
small parsing function in the xfrm core.

While at it, the merged dstopt/rt hdroff function is
realigned with ip6_find_1stfragopt (where they were copied from).

ip6_find_1stfragopt received bug fixes that were missing from the
cloned ones.

Florian Westphal (5):
  xfrm: ipv6: add xfrm6_hdr_offset helper
  xfrm: ipv6: move mip6_destopt_offset into xfrm core
  xfrm: ipv6: move mip6_rthdr_offset into xfrm core
  xfrm: remove hdr_offset indirection
  xfrm: merge dstopt and routing hdroff functions

 include/net/xfrm.h      |  3 --
 net/ipv6/ah6.c          |  1 -
 net/ipv6/esp6.c         |  1 -
 net/ipv6/ipcomp6.c      |  1 -
 net/ipv6/mip6.c         | 97 -----------------------------------------
 net/ipv6/xfrm6_output.c |  7 ---
 net/xfrm/xfrm_output.c  | 79 ++++++++++++++++++++++++++++++++-
 7 files changed, 77 insertions(+), 112 deletions(-)

-- 
2.31.1


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

end of thread, other threads:[~2021-06-14  9:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-11 10:50 [PATCH ipsec-next v2 0/5] xfrm: ipv6: remove hdr_off indirection Florian Westphal
2021-06-11 10:50 ` [PATCH ipsec-next v2 1/5] xfrm: ipv6: add xfrm6_hdr_offset helper Florian Westphal
2021-06-11 10:50 ` [PATCH ipsec-next v2 2/5] xfrm: ipv6: move mip6_destopt_offset into xfrm core Florian Westphal
2021-06-11 10:50 ` [PATCH ipsec-next v2 3/5] xfrm: ipv6: move mip6_rthdr_offset " Florian Westphal
2021-06-11 10:50 ` [PATCH ipsec-next v2 4/5] xfrm: remove hdr_offset indirection Florian Westphal
2021-06-11 10:50 ` [PATCH ipsec-next v2 5/5] xfrm: merge dstopt and routing hdroff functions Florian Westphal
2021-06-14  9:55 ` [PATCH ipsec-next v2 0/5] xfrm: ipv6: remove hdr_off indirection Steffen Klassert

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.