Netdev List
 help / color / mirror / Atom feed
From: Dave Seddon <dave.seddon.ca@gmail.com>
To: netdev@vger.kernel.org
Cc: Dave Seddon <dave.seddon.ca@gmail.com>,
	Stephen Hemminger <stephen@networkplumber.org>,
	David Ahern <dsahern@kernel.org>
Subject: [PATCH iproute2 v2 0/2] ip xfrm: deleteall mark payload, and drop the cast
Date: Fri, 27 Nov 2026 22:40:06 -0800	[thread overview]
Message-ID: <20261128064008.2028008-1-dave.seddon.ca@gmail.com> (raw)

Stephen asked why RTA_DATA() is cast to (void *) in the deleteall mark
fix. The cast predates the fix and is not needed, so patch 1 is the fix
as posted and patch 2 removes the two casts.

v2: add patch 2; drop the Assisted-by tag.

Dave Seddon (2):
  ip xfrm: copy only the mark payload in deleteall
  ip xfrm: drop the cast of RTA_DATA() in deleteall

 ip/xfrm_policy.c | 2 +-
 ip/xfrm_state.c  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


base-commit: 35033e4713fef87ac204fe0fe574045563d1475d
-- 
2.56.0


             reply	other threads:[~2026-11-28  6:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-28  6:40 Dave Seddon [this message]
2026-11-28  6:40 ` [PATCH iproute2 v2 1/2] ip xfrm: copy only the mark payload in deleteall Dave Seddon
2026-11-28  6:40 ` [PATCH iproute2 v2 2/2] ip xfrm: drop the cast of RTA_DATA() " Dave Seddon

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=20261128064008.2028008-1-dave.seddon.ca@gmail.com \
    --to=dave.seddon.ca@gmail.com \
    --cc=dsahern@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=stephen@networkplumber.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox