Netdev List
 help / color / mirror / Atom feed
* [PATCH iproute2 v2 0/2] ip xfrm: deleteall mark payload, and drop the cast
@ 2026-11-28  6:40 Dave Seddon
  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
  0 siblings, 2 replies; 3+ messages in thread
From: Dave Seddon @ 2026-11-28  6:40 UTC (permalink / raw)
  To: netdev; +Cc: Dave Seddon, Stephen Hemminger, David Ahern

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-28  6:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-28  6:40 [PATCH iproute2 v2 0/2] ip xfrm: deleteall mark payload, and drop the cast Dave Seddon
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox