aboutsummaryrefslogtreecommitdiffstats
path: root/net/can
AgeCommit message (Expand)AuthorFilesLines
2022-02-18net-timestamp: convert sk->sk_tskey to atomic_tEric Dumazet1-1/+1
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-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
2019-11-13can: j1939: j1939_can_recv(): add priv refcountingOleksij Rempel1-0/+2
2019-11-13can: j1939: transport: j1939_cancel_active_session(): use hrtimer_try_to_canc...Oleksij Rempel1-1/+5
2019-11-13can: j1939: make sure socket is held as long as session existsOleksij Rempel1-0/+2
2019-11-13can: j1939: transport: make sure the aborted session will be deactivated only...Oleksij Rempel1-8/+17
2019-11-13can: j1939: socket: rework socket locking for j1939_sk_release() and j1939_sk...Oleksij Rempel1-18/+39
2019-11-13can: j1939: main: j1939_ndev_to_priv(): avoid crash if can_ml_priv is NULLOleksij Rempel1-0/+3
2019-11-13can: j1939: move j1939_priv_put() into sk_destruct callbackOleksij Rempel1-2/+35
2019-11-13can: af_can: export can_sock_destruct()Oleksij Rempel1-1/+2
2019-11-04can: j1939: transport: j1939_xtp_rx_eoma_one(): Add sanity check for correct ...Oleksij Rempel1-0/+18
2019-11-04can: j1939: transport: j1939_session_fresh_new(): make sure EOMA is send with...Oleksij Rempel1-1/+1
2019-11-04can: j1939: fix memory leak if filters was setOleksij Rempel1-0/+1
2019-11-04can: j1939: fix resource leak of skb on error return pathsColin Ian King1-2/+6
2019-09-04can: add support of SAE J1939 protocolThe j1939 authors10-0/+4520
2019-09-04can: introduce CAN_REQUIRED_SIZE macroKurt Van Dijck2-4/+4
2019-09-04can: af_can: use spin_lock_bh() for &net->can.rcvlists_lockOleksij Rempel1-4/+4
2019-09-04can: af_can: remove NULL-ptr checks from users of can_dev_rcv_lists_find()Marc Kleine-Budde1-29/+16
2019-09-04can: make use of preallocated can_ml_priv for per device struct can_dev_rcv_l...Marc Kleine-Budde1-38/+7
2019-09-04can: introduce CAN midlayer private and allocate it automaticallyMarc Kleine-Budde3-15/+2
2019-09-04can: af_can: can_pernet_exit(): no need to iterate over and cleanup registere...Marc Kleine-Budde1-15/+0
2019-09-04can: af_can: can_rx_register(): use max() instead of open coding itMarc Kleine-Budde1-2/+2
2019-09-04can: af_can: give variable holding the CAN receiver and the receiver list a s...Marc Kleine-Budde1-51/+50
2019-09-04can: af_can: rename find_dev_rcv_lists() to can_dev_rcv_lists_find()Marc Kleine-Budde1-5/+5
2019-09-04can: af_can: rename find_rcv_list() to can_rcv_list_find()Marc Kleine-Budde1-5/+5
2019-09-04can: proc: give variable holding the CAN per device receive lists a sensible ...Marc Kleine-Budde1-18/+20
2019-09-04can: af_can: give variable holding the CAN per device receive lists a sensibl...Marc Kleine-Budde1-45/+44
2019-09-04can: netns: remove "can_" prefix from members struct netns_canMarc Kleine-Budde2-24/+24
2019-09-04can: proc: give variables holding CAN statistics a sensible nameMarc Kleine-Budde1-58/+58
2019-09-04can: af_can: give variables holding CAN statistics a sensible nameMarc Kleine-Budde1-15/+15
2019-09-04can: netns: give members of struct netns_can holding the statistics a sensibl...Marc Kleine-Budde2-23/+23
2019-09-04can: netns: give structs holding the CAN statistics a sensible nameMarc Kleine-Budde3-14/+14
2019-08-13can: gw: add support for CAN FD framesOliver Hartkopp1-27/+187
2019-08-13can: gw: use struct canfd_frame as internal data structureOliver Hartkopp1-105/+117
2019-08-13can: gw: cgw_parse_attr(): remove unnecessary braces for single statement blockMarc Kleine-Budde1-2/+1
2019-08-13can: gw: cgw_dump_jobs(): avoid long linesMarc Kleine-Budde1-2/+3
2019-08-13can: gw: can_can_gw_rcv(): remove return at end of void functionMarc Kleine-Budde1-1/+0
2019-08-13can: gw: add missing spaces around operatorsMarc Kleine-Budde1-18/+18
2019-08-13can: gw: remove unnecessary blank lines, add suggested blank linesMarc Kleine-Budde1-14/+1
2019-08-13can: gw: convert block comments to network style commentsMarc Kleine-Budde1-16/+8
2019-08-13can: bcm: switch timer to HRTIMER_MODE_SOFT and remove hrtimer_taskletThomas Gleixner1-104/+52
2019-08-13can: bcm: bcm_sock_no_ioctlcmd(): mark function as staticMarc Kleine-Budde1-2/+2
2019-08-13can: raw: raw_sock_no_ioctlcmd(): mark function as staticMarc Kleine-Budde1-2/+2
2019-08-13can: raw: raw_module_init(): use pr_err() instead of printk(KERN_ERR, ...)Marc Kleine-Budde1-1/+1
2019-08-13can: raw: balance braces around else statementsMarc Kleine-Budde1-4/+8
2019-08-13can: raw: remove unnecessary blank lines, add suggested blank linesMarc Kleine-Budde1-3/+1
2019-08-13can: raw: convert block comments to network style commentsMarc Kleine-Budde1-8/+4
2019-08-13can: af_can: add missing identifiers to struct receiver::funcMarc Kleine-Budde1-1/+1
2019-08-13can: af_can: can_pernet_init(): Use preferred style kzalloc(sizeof()) usageMarc Kleine-Budde1-3/+3
2019-08-13can: af_can: avoid splitting quoted string across linesMarc Kleine-Budde1-10/+7
2019-08-13can: af_can: fix alignmentMarc Kleine-Budde1-2/+2
2019-08-13can: af_can: balance braces around else statementsMarc Kleine-Budde1-5/+8
2019-08-13can: af_can: convert block comments to network style commentsMarc Kleine-Budde2-37/+15
2019-08-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-15/+33
2019-07-29can: fix ioctl function removalOliver Hartkopp2-2/+16
2019-07-24can: gw: Fix error path of cgw_module_initYueHaibing1-15/+33
2019-07-24can: Add SPDX license identifiers for CAN subsystemOliver Hartkopp6-0/+6
2019-07-24can: remove obsolete empty ioctl() handlerOliver Hartkopp3-11/+2
2019-07-24can: Kconfig: correct history of the CAN protocolRobert P. J. Day1-5/+6
2019-06-07can: purge socket error queue on sock destructWillem de Bruijn1-0/+1
2019-06-07can: af_can: Fix error path of can_init()YueHaibing1-3/+21
2019-05-21treewide: Add SPDX license identifier - Makefile/KconfigThomas Gleixner1-0/+1
2019-04-27netlink: make validation more configurable for future strictnessJohannes Berg1-2/+2
2019-04-19net: rework SIOCGSTAMP ioctl handlingArnd Bergmann3-6/+2
2019-01-22can: bcm: check timer values before ktime conversionOliver Hartkopp1-0/+27
2019-01-07can: gw: ensure DLC boundaries after CAN frame modificationOliver Hartkopp1-3/+27
2018-12-17net: add missing SOF_TIMESTAMPING_OPT_ID supportWillem de Bruijn1-1/+1
2018-11-09can: raw: check for CAN FD capable netdev in raw_sendmsg()Oliver Hartkopp1-7/+8
2018-06-28Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLLLinus Torvalds2-2/+2
2018-06-12treewide: kzalloc() -> kcalloc()Kees Cook1-1/+2
2018-06-12treewide: kmalloc() -> kmalloc_array()Kees Cook1-4/+6
2018-06-04Merge branch 'work.aio-1' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds2-2/+2
2018-05-26net: convert datagram_poll users tp ->poll_maskChristoph Hellwig2-2/+2
2018-05-16proc: introduce proc_create_net_singleChristoph Hellwig2-118/+25
2018-05-14net/can: single_open_net needs to be paired with single_release_netChristoph Hellwig2-4/+4
2018-03-27net: Drop pernet_operations::asyncKirill Tkhai3-3/+0
2018-03-26net: Use octal not symbolic permissionsJoe Perches2-2/+2
2018-03-22net: Convert can_pernet_opsKirill Tkhai1-0/+1
2018-03-05net: Convert cangw_pernet_opsKirill Tkhai1-0/+1
2018-02-27net: Convert /proc creating and destroying pernet_operationsKirill Tkhai1-0/+1
2018-02-12net: make getname() functions return length rather than use int* parameterDenys Vlasenko1-4/+2
2018-01-26can: migrate documentation to restructured textRobert Schwebel1-1/+1
2018-01-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-22/+14
2018-01-18can: af_can: canfd_rcv(): replace WARN_ONCE by pr_warn_onceMarc Kleine-Budde1-11/+7
2018-01-18can: af_can: can_rcv(): replace WARN_ONCE by pr_warn_onceMarc Kleine-Budde1-11/+7
2018-01-16net: delete /proc THIS_MODULE referencesAlexey Dobriyan2-7/+0
2018-01-05can: af_can: give struct holding the CAN per device receive lists a sensible ...Marc Kleine-Budde3-15/+15
2018-01-05can: raw: raw_bind(): bail out if can_family is not AF_CANMarc Kleine-Budde1-0/+2
2017-12-04net: use rtnl_register_module where neededFlorian Westphal1-4/+10
2017-11-21treewide: Remove TIMER_FUNC_TYPE and TIMER_DATA_TYPE castsKees Cook1-2/+2
2017-11-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+1
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-10-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller2-6/+19
2017-10-19can: af_can: can_pernet_init(): add missing error handling for kzalloc return...Marc Kleine-Budde1-1/+13
2017-10-19can: af_can: do not access proto_tab directly use rcu_access_pointer insteadMarc Kleine-Budde1-3/+3
2017-10-19can: bcm: check for null sk before deferencing it via the call to sock_netColin Ian King1-2/+3
2017-10-18net: can: Convert timers to use timer_setup()Kees Cook3-7/+7
2017-08-09rtnetlink: make rtnl_register accept a flags parameterFlorian Westphal1-3/+3
2017-06-16networking: introduce and use skb_put_data()Johannes Berg1-3/+3
2017-06-09can: af_can: namespace support: fix lockdep splat: properly initialize spin_lockMarc Kleine-Budde1-2/+1