mbox series

[v1,net-next,0/5] ipv6: Random cleanup for Extension Header.

Message ID 20230614230107.22301-1-kuniyu@amazon.com (mailing list archive)
Headers show
Series ipv6: Random cleanup for Extension Header. | expand

Message

Kuniyuki Iwashima June 14, 2023, 11:01 p.m. UTC
This series (1) cleans up pskb_may_pull() in some functions, where needed
data are already pulled by their caller, (2) removes redundant multicast
test, and (3) optimises reload timing of the header.


Kuniyuki Iwashima (5):
  ipv6: rpl: Remove pskb(_may)?_pull() in ipv6_rpl_srh_rcv().
  ipv6: rpl: Remove redundant multicast tests in ipv6_rpl_srh_rcv().
  ipv6: exthdrs: Replace pskb_pull() with skb_pull() in ipv6_srh_rcv().
  ipv6: exthdrs: Reload hdr only when needed in ipv6_srh_rcv().
  ipv6: exthdrs: Remove redundant skb_headlen() check in
    ip6_parse_tlv().

 include/net/rpl.h  |  3 ---
 net/ipv6/exthdrs.c | 33 +++++----------------------------
 net/ipv6/rpl.c     |  7 -------
 3 files changed, 5 insertions(+), 38 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org June 19, 2023, 7:10 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Wed, 14 Jun 2023 16:01:02 -0700 you wrote:
> This series (1) cleans up pskb_may_pull() in some functions, where needed
> data are already pulled by their caller, (2) removes redundant multicast
> test, and (3) optimises reload timing of the header.
> 
> 
> Kuniyuki Iwashima (5):
>   ipv6: rpl: Remove pskb(_may)?_pull() in ipv6_rpl_srh_rcv().
>   ipv6: rpl: Remove redundant multicast tests in ipv6_rpl_srh_rcv().
>   ipv6: exthdrs: Replace pskb_pull() with skb_pull() in ipv6_srh_rcv().
>   ipv6: exthdrs: Reload hdr only when needed in ipv6_srh_rcv().
>   ipv6: exthdrs: Remove redundant skb_headlen() check in
>     ip6_parse_tlv().
> 
> [...]

Here is the summary with links:
  - [v1,net-next,1/5] ipv6: rpl: Remove pskb(_may)?_pull() in ipv6_rpl_srh_rcv().
    https://git.kernel.org/netdev/net-next/c/ac9d8a66e41d
  - [v1,net-next,2/5] ipv6: rpl: Remove redundant multicast tests in ipv6_rpl_srh_rcv().
    https://git.kernel.org/netdev/net-next/c/6facbca52da2
  - [v1,net-next,3/5] ipv6: exthdrs: Replace pskb_pull() with skb_pull() in ipv6_srh_rcv().
    https://git.kernel.org/netdev/net-next/c/0d2e27b85850
  - [v1,net-next,4/5] ipv6: exthdrs: Reload hdr only when needed in ipv6_srh_rcv().
    https://git.kernel.org/netdev/net-next/c/b83d50f43165
  - [v1,net-next,5/5] ipv6: exthdrs: Remove redundant skb_headlen() check in ip6_parse_tlv().
    https://git.kernel.org/netdev/net-next/c/6db5dd2bf481

You are awesome, thank you!