mbox series

[net-next,0/2] net: better use of skb helpers

Message ID 20240229093908.2534595-1-edumazet@google.com (mailing list archive)
Headers show
Series net: better use of skb helpers | expand

Message

Eric Dumazet Feb. 29, 2024, 9:39 a.m. UTC
First patch is a pure cleanup.

Second patch adds a DEBUG_NET_WARN_ON_ONCE() in skb_network_header_len(),
this could help to discover old bugs.

Eric Dumazet (2):
  net: adopt skb_network_offset() and similar helpers
  net: adopt skb_network_header_len() more broadly

 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c   | 14 ++++++--------
 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c   |  4 ++--
 drivers/net/ethernet/intel/i40e/i40e_main.c       |  4 ++--
 drivers/net/ethernet/intel/iavf/iavf_main.c       |  4 ++--
 drivers/net/ethernet/intel/igb/igb_main.c         |  2 +-
 drivers/net/ethernet/intel/igbvf/netdev.c         |  2 +-
 drivers/net/ethernet/intel/igc/igc_main.c         |  2 +-
 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c     |  2 +-
 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c |  2 +-
 drivers/net/ethernet/qlogic/qede/qede_fp.c        |  2 +-
 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c    |  3 +--
 drivers/net/ethernet/sfc/siena/tx_common.c        |  5 ++---
 drivers/net/ethernet/sfc/tx_common.c              |  5 ++---
 drivers/net/ethernet/sfc/tx_tso.c                 |  4 ++--
 drivers/net/ethernet/sun/sunvnet_common.c         |  4 ++--
 drivers/net/ethernet/wangxun/libwx/wx_lib.c       |  2 +-
 drivers/net/wireguard/receive.c                   |  2 +-
 drivers/net/wireless/intel/iwlwifi/mvm/tx.c       |  3 +--
 drivers/net/wireless/intel/iwlwifi/pcie/tx.c      |  2 +-
 drivers/net/wireless/intel/iwlwifi/queue/tx.c     |  2 +-
 include/linux/skbuff.h                            |  1 +
 kernel/bpf/cgroup.c                               |  2 +-
 net/ipv4/raw.c                                    |  2 +-
 net/ipv4/xfrm4_input.c                            |  2 +-
 net/ipv6/exthdrs.c                                |  4 ++--
 net/ipv6/netfilter/nf_conntrack_reasm.c           |  4 ++--
 net/ipv6/reassembly.c                             |  4 ++--
 net/ipv6/xfrm6_input.c                            |  2 +-
 28 files changed, 43 insertions(+), 48 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org March 4, 2024, 8:50 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by David S. Miller <davem@davemloft.net>:

On Thu, 29 Feb 2024 09:39:06 +0000 you wrote:
> First patch is a pure cleanup.
> 
> Second patch adds a DEBUG_NET_WARN_ON_ONCE() in skb_network_header_len(),
> this could help to discover old bugs.
> 
> Eric Dumazet (2):
>   net: adopt skb_network_offset() and similar helpers
>   net: adopt skb_network_header_len() more broadly
> 
> [...]

Here is the summary with links:
  - [net-next,1/2] net: adopt skb_network_offset() and similar helpers
    https://git.kernel.org/netdev/net-next/c/80bfab79b835
  - [net-next,2/2] net: adopt skb_network_header_len() more broadly
    https://git.kernel.org/netdev/net-next/c/cc15bd10e716

You are awesome, thank you!