aboutsummaryrefslogtreecommitdiffstats
path: root/net/can
AgeCommit message (Expand)AuthorFilesLines
2024-02-20Merge tag 'linux-can-next-for-6.9-20240220' of git://git.kernel.org/pub/scm/l...Paolo Abeni1-6/+11
2024-02-20can: raw: raw_getsockopt(): reduce scope of errMarc Kleine-Budde1-5/+8
2024-02-20can: raw: fix getsockopt() for new CAN_RAW_XL_VCID_OPTSOliver Hartkopp1-1/+3
2024-02-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski3-18/+33
2024-02-14can: j1939: Fix UAF in j1939_sk_match_filter during setsockopt(SO_J1939_FILTER)Oleksij Rempel2-4/+19
2024-02-14can: j1939: prevent deadlock by changing j1939_socks_lock to rwlockZiqi Zhao3-14/+14
2024-02-13can: canxl: add virtual CAN network identifier supportOliver Hartkopp2-8/+87
2024-02-12can: isotp: support dynamic flow control parametersOliver Hartkopp1-2/+3
2024-02-12can: bcm: add recvmsg flags for own, local and remote trafficNicolas Maier1-12/+57
2023-10-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-11/+8
2023-10-06can: isotp: isotp_sendmsg(): fix TX state detection and wait behaviorLukas Magel1-11/+8
2023-10-04can: raw: Remove NULL check before dev_{put, hold}Jiapeng Chong1-2/+1
2023-10-01net: implement lockless SO_PRIORITYEric Dumazet2-2/+2
2023-09-01net: annotate data-races around sk->sk_tsflagsEric Dumazet1-4/+6
2023-08-22can: raw: add missing refcount for memory leak fixOliver Hartkopp1-9/+26
2023-08-22can: isotp: fix support for transmission of SF without flow controlOliver Hartkopp1-15/+7
2023-07-29net: annotate data-races around sk->sk_markEric Dumazet1-1/+1
2023-07-20can: raw: fix lockdep issue in raw_release()Eric Dumazet1-2/+3
2023-07-17can: bcm: Fix UAF in bcm_proc_show()YueHaibing1-6/+6
2023-07-17can: raw: fix receiver memory leakZiyang Xuan1-33/+24
2023-06-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+3
2023-06-24sock: Remove ->sendpage*() in favour of sendmsg(MSG_SPLICE_PAGES)David Howells4-4/+0
2023-06-22can: isotp: isotp_sendmsg(): fix return error fix on TX pathOliver Hartkopp1-2/+3
2023-06-05can: j1939: avoid possible use-after-free when j1939_can_rx_register failsFedor Pchelkin1-1/+3
2023-06-05can: j1939: change j1939_netdev_lock type to mutexFedor Pchelkin1-11/+11
2023-06-05can: j1939: j1939_sk_send_loop_abort(): improved error queue handling in J193...Oleksij Rempel1-0/+5
2023-05-15can: j1939: recvmsg(): allow MSG_CMSG_COMPAT flagOliver Hartkopp1-1/+1
2023-05-15can: isotp: recvmsg(): allow MSG_CMSG_COMPAT flagOliver Hartkopp1-1/+1
2023-04-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-27/+52
2023-04-05Merge tag 'linux-can-next-for-6.4-20230404-2' of git://git.kernel.org/pub/scm...Jakub Kicinski1-9/+56
2023-04-05can: isotp: fix race between isotp_sendsmg() and isotp_release()Oliver Hartkopp1-24/+31
2023-04-05can: isotp: isotp_ops: fix poll() to not report false EPOLLOUT eventsMichal Sojka1-1/+16
2023-04-05can: isotp: isotp_recvmsg(): use sock_recv_cmsgs() to get SOCK_RXQ_OVFL infosOliver Hartkopp1-1/+1
2023-04-05can: j1939: j1939_tp_tx_dat_new(): fix out-of-bounds memory accessOleksij Rempel1-1/+4
2023-03-28can: isotp: add module parameter for maximum pdu sizeOliver Hartkopp1-9/+56
2023-03-27can: bcm: bcm_tx_setup(): fix KMSAN uninit-value in vfs_writeIvan Orlov1-6/+10
2023-03-27can: j1939: prevent deadlock by moving j1939_sk_errqueue()Oleksij Rempel1-2/+6
2023-02-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+40
2023-02-08can: raw: use temp variable instead of rolling back configOliver Hartkopp1-5/+6
2023-02-07Merge tag 'linux-can-next-for-6.3-20230206' of git://git.kernel.org/pub/scm/l...Paolo Abeni2-0/+10
2023-02-07can: j1939: do not wait 250 ms if the same addr was already claimedDevid Antonio Filoni1-0/+40
2023-02-02can: isotp: check CAN address family in isotp_bind()Oliver Hartkopp1-0/+3
2023-02-02can: gw: give feedback on missing CGW_FLAGS_CAN_IIF_TX_OK flagOliver Hartkopp1-0/+7
2023-02-02can: isotp: split tx timer into transmission and timeoutOliver Hartkopp1-36/+29
2023-02-02can: isotp: handle wait_event_interruptible() return valuesOliver Hartkopp1-0/+4
2023-02-02can: raw: fix CAN FD frame transmissions over CAN XL devicesOliver Hartkopp1-16/+31
2023-02-02can: j1939: fix errant WARN_ON_ONCE in j1939_session_deactivateZiyang Xuan1-4/+0
2022-12-13Merge tag 'net-next-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds3-3/+3
2022-12-12Merge tag 'random-6.2-rc1-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds2-2/+2
2022-12-12can: raw: add support for SO_MARKMarc Kleine-Budde1-0/+1
2022-12-12net: af_can: remove useless parameter 'err' in 'can_rx_register()'Ye Bin1-2/+1
2022-12-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+3
2022-12-07can: af_can: fix NULL pointer dereference in can_rcv_filterOliver Hartkopp1-3/+3
2022-11-18treewide: use get_random_u32_below() instead of deprecated functionJason A. Donenfeld2-2/+2
2022-11-10Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski3-34/+43
2022-11-07can: j1939: j1939_send_one(): fix missing CAN header initializationOliver Hartkopp1-0/+3
2022-11-07can: isotp: fix tx state handling for echo tx processingOliver Hartkopp1-33/+38
2022-11-07can: af_can: fix NULL pointer dereference in can_rx_register()Zhengchao Shao1-1/+1
2022-11-07can: af_can: can_exit(): add missing dev_remove_pack() of canxl_packetChen Zhongjin1-0/+1
2022-10-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+3
2022-10-27can: j1939: transport: j1939_session_skb_drop_old(): spin_unlock_irqrestore()...Yang Yingliang1-1/+3
2022-10-19can: j1939: j1939_session_tx_eoma(): fix debug infoZhang Changzhong1-1/+1
2022-09-23can: bcm: check the result of can_send() in bcm_can_tx()Ziyang Xuan1-3/+4
2022-09-23can: bcm: registration process optimization in bcm_module_init()Ziyang Xuan1-3/+15
2022-09-15can: raw: add CAN XL supportOliver Hartkopp1-12/+43
2022-09-15can: canxl: update CAN infrastructure for CAN XL framesOliver Hartkopp1-1/+24
2022-09-15can: set CANFD_FDF flag in all CAN FD frame structuresOliver Hartkopp1-0/+5
2022-09-15can: skb: unify skb CAN frame identification helpersOliver Hartkopp5-45/+24
2022-09-06can: raw: use guard clause to optimize nesting in raw_rcv()Ziyang Xuan1-7/+6
2022-09-06can: raw: process optimization in raw_init()Ziyang Xuan1-3/+11
2022-08-09can: j1939: j1939_session_destroy(): fix memory leak of skbsFedor Pchelkin1-1/+7
2022-08-09can: j1939: j1939_sk_queue_activate_next_locked(): replace WARN_ON_ONCE with ...Fedor Pchelkin1-1/+4
2022-07-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-4/+14
2022-07-04can: bcm: use call_rcu() instead of costly synchronize_rcu()Oliver Hartkopp1-4/+14
2022-06-11net: Kconfig: move the CAN device menu to the "Device Drivers" sectionVincent Mailhol1-3/+2
2022-05-19can: isotp: isotp_bind(): do not validate unused address informationOliver Hartkopp1-12/+17
2022-05-16can: isotp: isotp_bind(): return -EINVAL on incorrect CAN ID formattingOliver Hartkopp1-0/+5
2022-05-16can: isotp: add support for transmission without flow controlOliver Hartkopp1-21/+79
2022-05-16can: raw: add support for SO_TXTIME/SCM_TXTIMEMarc Kleine-Budde1-1/+10
2022-05-16can: raw: raw_sendmsg(): remove not needed setting of skb->skMarc Kleine-Budde1-1/+0
2022-05-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-20/+5
2022-04-29can: isotp: remove re-binding of bound socketOliver Hartkopp1-20/+5
2022-04-28net: SO_RCVMARK socket option for SO_MARK with recvmsg()Erin MacNeil3-3/+3
2022-04-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netPaolo Abeni1-1/+9
2022-04-17can: isotp: stop timeout monitoring when no first frame was sentOliver Hartkopp1-1/+9
2022-04-06net: remove noblock parameter from skb_recv_datagram()Oliver Hartkopp4-13/+4
2022-03-31can: isotp: restore accidentally removed MSG_PEEK featureOliver Hartkopp1-1/+1
2022-03-16can: isotp: support MSG_TRUNC flag when reading from socketOliver Hartkopp1-12/+15
2022-03-16can: isotp: return -EADDRNOTAVAIL when reading from unbound socketOliver Hartkopp1-0/+4
2022-03-16can: isotp: sanitize CAN ID checks in isotp_bind()Oliver Hartkopp1-20/+21
2022-03-10can: isotp: set max PDU size to 64 kByteOliver Hartkopp1-2/+2
2022-03-10can: isotp: set default value for N_As to 50 micro secondsOliver Hartkopp1-1/+11
2022-03-10can: isotp: add local echo tx processing for consecutive framesOliver Hartkopp1-80/+139
2022-03-06can: Use netif_rx().Sebastian Andrzej Siewior1-1/+1
2022-02-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2022-02-24can: gw: use call_rcu() instead of costly synchronize_rcu()Eric Dumazet1-6/+10
2022-02-18net-timestamp: convert sk->sk_tskey to atomic_tEric Dumazet1-1/+1
2022-02-10Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-7/+22
2022-02-09can: isotp: fix error path in isotp_sendmsg() to unlock wait queueOliver Hartkopp1-6/+9
2022-02-09can: isotp: fix potential CAN frame reception race in isotp_rcv()Oliver Hartkopp1-1/+13
2022-02-08can: gw: switch cangw_pernet_exit() to batch modeEric Dumazet1-3/+6
2022-01-22proc: remove PDE_DATA() completelyMuchun Song2-2/+2
2022-01-05can: isotp: convert struct tpcon::{idx,len} to unsigned intMarc Kleine-Budde1-2/+2
2021-11-06can: j1939: j1939_tp_cmd_recv(): check the dst address of TP.CM_BAMZhang Changzhong1-0/+5
2021-11-06can: j1939: j1939_can_recv(): ignore messages with invalid source addressZhang Changzhong1-0/+7
2021-11-06can: j1939: j1939_tp_cmd_recv(): ignore abort message in the BAM transportZhang Changzhong1-0/+6
2021-10-24can: bcm: Use hrtimer_forward_now()Thomas Gleixner1-1/+1
2021-10-19can: isotp: isotp_sendmsg(): fix return error on FC timeout on TX pathMarc Kleine-Budde1-0/+3
2021-10-17can: isotp: isotp_sendmsg(): fix TX buffer concurrent access in isotp_sendmsg()Ziyang Xuan1-15/+31
2021-10-17can: isotp: isotp_sendmsg(): add result check for wait_event_interruptible()Ziyang Xuan1-1/+3
2021-10-17can: j1939: j1939_xtp_rx_rts_session_new(): abort TP less than 9 bytesZhang Changzhong2-0/+3
2021-10-17can: j1939: j1939_xtp_rx_dat_one(): cancel session if receive TP.DT with erro...Zhang Changzhong1-2/+5
2021-10-17can: j1939: j1939_netdev_start(): fix UAF for rx_kref of j1939_privZiyang Xuan1-2/+5
2021-10-17can: j1939: j1939_tp_rxtimer(): fix errant alert in j1939_tp_rxtimerZiyang Xuan1-3/+2
2021-08-05net: Remove redundant if statementsYajun Deng1-6/+2
2021-08-04can: j1939: extend UAPI to notify about RX statusOleksij Rempel3-34/+127
2021-08-04can: j1939: rename J1939_ERRQUEUE_* to J1939_ERRQUEUE_TX_*Oleksij Rempel3-10/+10
2021-08-03can: j1939: j1939_session_tx_dat(): fix typoMarc Kleine-Budde1-1/+1
2021-07-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-5/+26
2021-07-25can: j1939: j1939_xtp_rx_dat_one(): use separate pointer for session skb cont...Marc Kleine-Budde1-4/+4
2021-07-25can: j1939: j1939_session_tx_dat(): use consistent name se_skcb for session s...Marc Kleine-Budde1-4/+4
2021-07-25can: j1939: j1939_session_completed(): use consistent name se_skb for the ses...Marc Kleine-Budde1-4/+4
2021-07-25can: j1939: replace fall through comment by fallthrough pseudo-keywordMarc Kleine-Budde1-5/+10
2021-07-25can: j1939: fix checkpatch warningsMarc Kleine-Budde1-2/+3
2021-07-25can: j1939: j1939_sk_sock_destruct(): correct a grammatical errorgushengxian1-1/+1
2021-07-24can: j1939: j1939_xtp_rx_dat_one(): fix rxtimer value between consecutive TP....Zhang Changzhong1-1/+1
2021-07-24can: j1939: j1939_session_deactivate(): clarify lifetime of session objectOleksij Rempel1-2/+7
2021-07-24can: raw: raw_setsockopt(): fix raw_rcv panic for sock UAFZiyang Xuan1-2/+18
2021-06-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski5-5/+21
2021-06-29net: sock: introduce sk_error_reportAlexander Aring4-17/+17
2021-06-24can: j1939: j1939_sk_setsockopt(): prevent allocation of j1939 filter for opt...Norbert Slusarek1-1/+1
2021-06-19can: j1939: j1939_sk_init(): set SOCK_RCU_FREE to call sk_destruct() after RC...Oleksij Rempel2-0/+7
2021-06-19can: isotp: isotp_release(): omit unintended hrtimer restart on socket releaseOliver Hartkopp1-3/+4
2021-06-19can: gw: synchronize rcu operations before removing gw job entryOliver Hartkopp1-0/+3
2021-06-19can: bcm: delay release of struct bcm_op after synchronize_rcu()Thadeu Lima de Souza Cascardo1-1/+6
2021-06-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski4-54/+185
2021-06-16can: bcm: fix infoleak in struct bcm_msg_headNorbert Slusarek1-0/+3
2021-06-16can: bcm/raw/isotp: use per module netdevice notifierTetsuo Handa3-40/+142
2021-06-16can: j1939: fix Use-after-Free, hold skb ref while in useOleksij Rempel1-14/+40
2021-05-27Merge tag 'linux-can-next-for-5.14-20210527' of git://git.kernel.org/pub/scm/...Jakub Kicinski2-14/+12
2021-05-27can: isotp: Add error message if txqueuelen is too smallPatrick Menschel1-2/+4
2021-05-27can: isotp: add symbolic error message to isotp_module_init()Patrick Menschel1-1/+1
2021-05-27can: isotp: change error format from decimal to symbolic error namesPatrick Menschel1-6/+6
2021-05-27can: proc: remove unnecessary variableszuoqilin1-5/+1
2021-05-12can: isotp: prevent race between isotp_bind() and isotp_setsockopt()Norbert Slusarek1-16/+33
2021-04-25can: proc: fix rcvlist_* header alignment on 64-bit systemErik Flodin1-2/+4
2021-03-29can: isotp: fix msg_namelen values depending on CAN_REQUIRED_SIZEOliver Hartkopp1-4/+7
2021-03-29can: bcm/raw: fix msg_namelen values depending on CAN_REQUIRED_SIZEOliver Hartkopp2-10/+14
2021-03-20can: isotp: tx-path: zero initialize outgoing CAN framesOliver Hartkopp1-3/+3
2021-03-16can: isotp: TX-path: ensure that CAN frame flags are initializedMarc Kleine-Budde1-6/+3
2021-03-16can: isotp: isotp_setsockopt(): only allow to set low level TX flags for CAN-FDMarc Kleine-Budde1-1/+2
2021-02-24net: introduce CAN specific pointer in the struct net_deviceOleksij Rempel4-61/+27
2021-01-27Merge tag 'linux-can-next-for-5.12-20210127' of git://git.kernel.org/pub/scm/...Jakub Kicinski1-1/+1
2021-01-27net: remove redundant 'depends on NET'Masahiro Yamada1-1/+0
2021-01-27can: gw: fix typoMarc Kleine-Budde1-1/+1
2021-01-14Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+1
2021-01-13can: isotp: isotp_getname(): fix kernel information leakOliver Hartkopp1-0/+1
2021-01-06can: raw: return -ERANGE when filterset does not fit into user space bufferOliver Hartkopp1-4/+12
2020-12-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+3
2020-12-10can: isotp: add SF_BROADCAST support for functional addressingOliver Hartkopp1-13/+29
2020-12-09can: isotp: isotp_setsockopt(): block setsockopt on bound socketsOliver Hartkopp1-0/+3
2020-11-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+5
2020-11-27can: af_can: can_rx_unregister(): remove WARN() statement from list operation...Oliver Hartkopp1-2/+5
2020-11-20can: gw: support modification of Classical CAN DLCsOliver Hartkopp1-8/+70
2020-11-20can: replace can_dlc as variable/element for payload lengthOliver Hartkopp3-4/+4
2020-11-15can: af_can: prevent potential access of uninitialized member in canfd_rcv()Anant Thazhemadam1-5/+14
2020-11-15can: af_can: prevent potential access of uninitialized member in can_rcv()Anant Thazhemadam1-5/+14
2020-11-03can: isotp: padlen(): make const array static, makes object smallerColin Ian King1-8/+10
2020-11-03can: isotp: isotp_rcv_cf(): enable RX timeout handling in listen-only modeOliver Hartkopp1-4/+4
2020-11-03can: isotp: Explain PDU in CAN_ISOTP help textGeert Uytterhoeven1-2/+3
2020-11-03can: j1939: j1939_sk_bind(): return failure if netdev is downZhang Changzhong1-0/+6
2020-11-03can: proc: can_remove_proc(): silence remove_proc_entry warningZhang Changzhong1-2/+4
2020-10-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+2
2020-10-12can: remove obsolete version stringsOliver Hartkopp6-25/+5
2020-10-12can: isotp: implement cleanups / improvements from reviewOliver Hartkopp2-8/+9
2020-10-08net: j1939: j1939_session_fresh_new(): fix missing initialization of skbcntMarc Kleine-Budde1-0/+1
2020-10-08can: j1935: j1939_tp_tx_dat_new(): fix missing initialization of skbcntCong Wang1-0/+1
2020-10-07can: add ISO 15765-2:2016 transport protocolOliver Hartkopp3-0/+1442
2020-10-06can: raw: add missing error queue supportVincent Mailhol1-0/+4
2020-10-06can: af_can: can_rcv_list_find(): fix kernel doc after variable renamingMarc Kleine-Budde1-1/+1
2020-09-21can: remove "WITH Linux-syscall-note" from SPDX tag of C filesMasahiro Yamada4-4/+4
2020-09-21can: raw: fix indentionMarc Kleine-Budde1-12/+12
2020-09-21can: net: fix spelling mistakesMarc Kleine-Budde1-2/+2
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva2-11/+11
2020-08-15can: j1939: add rxtimer for multipacket broadcast sessionZhang Changzhong1-8/+20
2020-08-15can: j1939: abort multipacket broadcast session when timeout occursZhang Changzhong1-1/+1
2020-08-15can: j1939: cancel rxtimer on multipacket broadcast session completeZhang Changzhong1-0/+1
2020-08-15can: j1939: fix support for multipacket broadcast messageZhang Changzhong1-3/+14
2020-08-14can: j1939: transport: j1939_xtp_rx_dat_one(): compare own packets to detect ...Oleksij Rempel1-1/+14
2020-08-14can: j1939: transport: add j1939_session_skb_find_by_offset() functionOleksij Rempel1-7/+15
2020-08-14can: j1939: socket: j1939_sk_bind(): make sure ml_priv is allocatedOleksij Rempel1-0/+8
2020-08-14can: j1939: transport: j1939_session_tx_dat(): fix use-after-free read in j19...Oleksij Rempel1-0/+15
2020-08-14can: j1939: transport: j1939_simple_recv(): ignore local J1939 messages send ...Oleksij Rempel2-0/+5
2020-08-14can: j1939: fix kernel-infoleak in j1939_sk_sock2sockaddr_can()Eric Dumazet1-0/+5
2020-07-24net: pass a sockptr_t into ->setsockoptChristoph Hellwig2-14/+14
2020-07-19net: make ->{get,set}sockopt in proto_ops optionalChristoph Hellwig1-2/+0
2020-07-13net: can: kerneldoc fixesAndrew Lunn1-0/+2
2020-06-14treewide: replace '---help---' in Kconfig files with 'help'Masahiro Yamada1-4/+4
2019-12-08can: j1939: j1939_sk_bind(): take priv after lock is heldOleksij Rempel1-3/+7
2019-11-13can: j1939: warn if resources are still linked on destroyOleksij Rempel2-0/+7