[PATCH net 0/3] pull-request: can 2024-02-14

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello netdev-team,

this is a pull request of 3 patches for net/master.

the first patch is by Ziqi Zhao and targets the CAN J1939 protocol, it
fixes a potential deadlock by replacing the spinlock by an rwlock.

Oleksij Rempel's patch adds a missing spin_lock_bh() to prevent a
potential Use-After-Free in the CAN J1939's
setsockopt(SO_J1939_FILTER).

Maxime Jayat contributes a patch to fix the transceiver delay
compensation (TDCO) calculation, which is needed for higher CAN-FD bit
rates (usually 2Mbit/s).

regards,
Marc

---

The following changes since commit 858b31133dbec88465bcc0a006f4dc43173662b8:

  octeontx2-af: Remove the PF_FUNC validation for NPC transmit rules (2024-02-14 09:31:44 +0000)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can.git tags/linux-can-fixes-for-6.8-20240214

for you to fetch changes up to 2aa0a5e65eae27dbd96faca92c84ecbf6f492d42:

  can: netlink: Fix TDCO calculation using the old data bittiming (2024-02-14 13:53:03 +0100)

----------------------------------------------------------------
linux-can-fixes-for-6.8-20240214

----------------------------------------------------------------
Maxime Jayat (1):
      can: netlink: Fix TDCO calculation using the old data bittiming

Oleksij Rempel (1):
      can: j1939: Fix UAF in j1939_sk_match_filter during setsockopt(SO_J1939_FILTER)

Ziqi Zhao (1):
      can: j1939: prevent deadlock by changing j1939_socks_lock to rwlock

 drivers/net/can/dev/netlink.c |  2 +-
 net/can/j1939/j1939-priv.h    |  3 ++-
 net/can/j1939/main.c          |  2 +-
 net/can/j1939/socket.c        | 46 ++++++++++++++++++++++++++++---------------
 4 files changed, 34 insertions(+), 19 deletions(-)





[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux