Skip to content

CAN netlayer fixes for stable

Oliver Hartkopp linux-can stable 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest3 patches 2 repliesIn review
  2. v43 patches 1 replySuperseded
  3. v33 patches 1 replySuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v23 patches5 repliesSuperseded
v13 patches1 replySuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3can: remove CAN filters independent from namespacenet/can/bcm.c net/can/isotp.c net/can/raw.c+78 -322 replies
2/3can: convert unreliable ARPHRD_CAN type checks to robust can_get_ml_priv()net/can/af_can.c net/can/bcm.c net/can/gw.c +2 more+19 -160 replies
3/3can: fix unique skb identifier regression under RPSdrivers/net/can/vxcan.c include/linux/can/core.h include/linux/can/skb.h +5 more+66 -250 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchOliver Hartkopp
1/3
2/3
3/3T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/3] CAN netlayer fixes for stable

This patch set aggregates the open stable fixes for the CAN netlayer.

Patch 3 is new and addresses a RPS regression but it needs the other patches as basis.

Changes in patch 3 only.
v2: We need a non-zero UID for the cfecho checks in isotp.c

    So restore the former while (!(skb->hash)) statement

v3: omit the problematic use of skb->hash reported by sashiko bot
v4: address tc mirred or netem duplicate clones suggested by sashiko bot
v5: remove the skb_clone() test speed-up as it introduces a bug

Oliver Hartkopp (3):
can: remove CAN filters independent from namespace
can: convert unreliable ARPHRD_CAN type checks to robust can_get_ml_priv()
can: fix unique skb identifier regression under RPS

 drivers/net/can/vxcan.c  |   3 ++
 include/linux/can/core.h |   3 +-
 include/linux/can/skb.h  |   4 +-
 include/net/can.h        |   2 +
 net/can/af_can.c         |  56 +++++++++++++-------
 net/can/bcm.c            | 107 +++++++++++++++++++++++++++++----------
 net/can/gw.c             |  10 ++--
 net/can/isotp.c          |  28 +++++-----
 net/can/raw.c            |  17 ++++---
 9 files changed, 160 insertions(+), 70 deletions(-)
Signature · 1 line
2.53.0