mbox series

pull request (net): ipsec 2021-06-23

Message ID 20210623065449.2143405-1-steffen.klassert@secunet.com (mailing list archive)
State Accepted
Commit 7c2becf7968bda70c457565d42d06f76251edefe
Headers show
Series pull request (net): ipsec 2021-06-23 | expand

Pull-request

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

Checks

Context Check Description
netdev/tree_selection success Guessing tree name failed - patch did not apply

Message

Steffen Klassert June 23, 2021, 6:54 a.m. UTC
1) Don't return a mtu smaller than 1280 on IPv6 pmtu discovery.
   From Sabrina Dubroca

2) Fix seqcount rcu-read side in xfrm_policy_lookup_bytype
   for the PREEMPT_RT case. From Varad Gautam.

3) Remove a repeated declaration of xfrm_parse_spi.
   From Shaokun Zhang.

4) IPv4 beet mode can't handle fragments, but IPv6 does.
   commit 68dc022d04eb ("xfrm: BEET mode doesn't support
   fragments for inner packets") handled IPv4 and IPv6
   the same way. Relax the check for IPv6 because fragments
   are possible here. From Xin Long.

5) Memory allocation failures are not reported for
   XFRMA_ENCAP and XFRMA_COADDR in xfrm_state_construct.
   Fix this by moving both cases in front of the function.

6) Fix a missing initialization in the xfrm offload fallback
   fail case for bonding devices. From Ayush Sawal.

Please pull or let me know if there are problems.

Thanks!

The following changes since commit 88a5af943985fb43b4c9472b5abd9c0b9705533d:

  Merge tag 'net-5.12-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net (2021-04-17 09:57:15 -0700)

are available in the Git repository at:

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

for you to fetch changes up to dd72fadf2186fc8a6018f97fe72f4d5ca05df440:

  xfrm: Fix xfrm offload fallback fail case (2021-06-22 09:08:15 +0200)

----------------------------------------------------------------
Ayush Sawal (1):
      xfrm: Fix xfrm offload fallback fail case

Sabrina Dubroca (1):
      xfrm: xfrm_state_mtu should return at least 1280 for ipv6

Shaokun Zhang (1):
      xfrm: Remove the repeated declaration

Steffen Klassert (1):
      xfrm: Fix error reporting in xfrm_state_construct.

Varad Gautam (1):
      xfrm: policy: Read seqcount outside of rcu-read side in xfrm_policy_lookup_bytype

Xin Long (1):
      xfrm: remove the fragment check for ipv6 beet mode

 include/net/xfrm.h     |  2 +-
 net/ipv4/esp4.c        |  2 +-
 net/ipv6/esp6.c        |  2 +-
 net/xfrm/xfrm_device.c |  1 +
 net/xfrm/xfrm_output.c |  7 -------
 net/xfrm/xfrm_policy.c | 21 ++++++++++++++-------
 net/xfrm/xfrm_state.c  | 14 ++++++++++++--
 net/xfrm/xfrm_user.c   | 28 ++++++++++++++--------------
 8 files changed, 44 insertions(+), 33 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org June 23, 2021, 7:50 p.m. UTC | #1
Hello:

This pull request was applied to netdev/net.git (refs/heads/master):

On Wed, 23 Jun 2021 08:54:43 +0200 you wrote:
> 1) Don't return a mtu smaller than 1280 on IPv6 pmtu discovery.
>    From Sabrina Dubroca
> 
> 2) Fix seqcount rcu-read side in xfrm_policy_lookup_bytype
>    for the PREEMPT_RT case. From Varad Gautam.
> 
> 3) Remove a repeated declaration of xfrm_parse_spi.
>    From Shaokun Zhang.
> 
> [...]

Here is the summary with links:
  - pull request (net): ipsec 2021-06-23
    https://git.kernel.org/netdev/net/c/7c2becf7968b
  - [2/6] xfrm: policy: Read seqcount outside of rcu-read side in xfrm_policy_lookup_bytype
    https://git.kernel.org/netdev/net/c/d7b0408934c7
  - [3/6] xfrm: Remove the repeated declaration
    https://git.kernel.org/netdev/net/c/6e1e89418a5c
  - [4/6] xfrm: remove the fragment check for ipv6 beet mode
    https://git.kernel.org/netdev/net/c/eebd49a4ffb4
  - [5/6] xfrm: Fix error reporting in xfrm_state_construct.
    https://git.kernel.org/netdev/net/c/6fd06963fa74
  - [6/6] xfrm: Fix xfrm offload fallback fail case
    https://git.kernel.org/netdev/net/c/dd72fadf2186

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html