All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Dumazet <eric.dumazet@gmail.com>
To: "David S . Miller" <davem@davemloft.net>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>
Cc: netdev <netdev@vger.kernel.org>,
	Willem de Bruijn <willemb@google.com>,
	Eric Dumazet <edumazet@google.com>,
	Eric Dumazet <eric.dumazet@gmail.com>
Subject: [PATCH net 0/2] net: af_packet: be careful when expanding mac header size
Date: Tue, 31 May 2022 11:59:31 -0700	[thread overview]
Message-ID: <20220531185933.1086667-1-eric.dumazet@gmail.com> (raw)

From: Eric Dumazet <edumazet@google.com>

A recent regression in af_packet needed a preliminary debug patch,
which will presumably be useful for next bugs hunting.

The af_packet fix is to make sure MAC headers are contained in
skb linear part, as GSO stack requests.

Eric Dumazet (2):
  net: add debug info to __skb_pull()
  net/af_packet: make sure to pull mac header

 include/linux/skbuff.h | 9 ++++++++-
 net/packet/af_packet.c | 6 ++++--
 2 files changed, 12 insertions(+), 3 deletions(-)

-- 
2.36.1.255.ge46751e96f-goog


             reply	other threads:[~2022-05-31 18:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-31 18:59 Eric Dumazet [this message]
2022-05-31 18:59 ` [PATCH net 1/2] net: add debug info to __skb_pull() Eric Dumazet
2022-05-31 19:31   ` Willem de Bruijn
2022-06-01  7:27   ` kernel test robot
2022-06-01 17:26     ` Eric Dumazet
2022-06-01 17:26       ` Eric Dumazet
2022-06-01 22:01   ` kernel test robot
2022-05-31 18:59 ` [PATCH net 2/2] net/af_packet: make sure to pull mac header Eric Dumazet
2022-05-31 19:28   ` Willem de Bruijn
2022-06-01  1:56   ` Hangbin Liu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220531185933.1086667-1-eric.dumazet@gmail.com \
    --to=eric.dumazet@gmail.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=willemb@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.