aboutsummaryrefslogtreecommitdiffstats
path: root/net/netlink
AgeCommit message (Expand)AuthorFilesLines
2022-12-13Merge tag 'net-next-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds2-130/+407
2022-11-18netlink: remove the flex array from struct nlmsghdrJakub Kicinski1-1/+1
2022-11-18treewide: use get_random_u32_below() instead of deprecated functionJason A. Donenfeld1-1/+1
2022-11-10genetlink: fix single op policy dump when do is presentJakub Kicinski1-9/+21
2022-11-09genetlink: correctly begin the iteration over policiesJakub Kicinski1-1/+3
2022-11-07netlink: Fix potential skb memleak in netlink_ackTao Chen1-1/+3
2022-11-07genetlink: convert control family to split opsJakub Kicinski1-4/+13
2022-11-07genetlink: allow families to use split ops directlyJakub Kicinski1-26/+144
2022-11-07genetlink: inline old iteration helpersJakub Kicinski1-23/+9
2022-11-07genetlink: use iterator in the op to policy map dumpingJakub Kicinski1-23/+26
2022-11-07genetlink: add iterator for walking family opsJakub Kicinski1-41/+76
2022-11-07genetlink: inline genl_get_cmd()Jakub Kicinski1-18/+12
2022-11-07genetlink: support split policies in ctrl_dumppolicy_put_op()Jakub Kicinski1-22/+33
2022-11-07genetlink: add policies for both doit and dumpit in ctrl_dumppolicy_start()Jakub Kicinski1-10/+38
2022-11-07genetlink: check for callback type at op load timeJakub Kicinski1-10/+10
2022-11-07genetlink: load policy based on validation flagsJakub Kicinski1-7/+10
2022-11-07genetlink: introduce split op representationJakub Kicinski1-15/+64
2022-11-07genetlink: refactor the cmd <> policy mapping dumpJakub Kicinski1-12/+15
2022-10-31netlink: split up copies in the ack constructionJakub Kicinski1-9/+20
2022-10-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+25
2022-10-27genetlink: limit the use of validation workarounds to old opsJakub Kicinski1-0/+2
2022-10-24genetlink: piggy back on resv_op to default to a reject policyJakub Kicinski1-0/+23
2022-10-24net: add a refcount tracker for kernel socketsEric Dumazet1-0/+11
2022-09-30genetlink: reject use of nlmsg_flags for new commandsJakub Kicinski1-1/+31
2022-09-05netlink: Bounds-check struct nlmsgerr creationKees Cook1-3/+5
2022-08-30netlink: add support for ext_ack missing attributesJakub Kicinski1-0/+12
2022-08-30netlink: factor out extack compositionJakub Kicinski1-30/+55
2022-08-29genetlink: start to validate reserved header bytesJakub Kicinski1-0/+4
2022-08-26genetlink: hold read cb_lock during iteration of genl_fam_idr in genl_bind()Jiri Pirko1-2/+2
2022-08-18net: genl: fix error path memory leak in policy dumpingJakub Kicinski2-3/+17
2022-05-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+0
2022-05-06netlink: do not reset transport header in netlink_recvmsg()Eric Dumazet1-1/+0
2022-04-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netPaolo Abeni1-0/+7
2022-04-19netlink: reset network and mac headers in netlink_dump()Eric Dumazet1-0/+7
2022-04-06net: remove noblock parameter from skb_recv_datagram()Oliver Hartkopp1-2/+1
2022-03-18af_netlink: Fix shift out of bounds in group mask calculationPetr Machata1-0/+2
2021-12-29net: Don't include filter.h from net/sock.hJakub Kicinski1-0/+2
2021-12-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+5
2021-11-30net: netlink: af_netlink: Prevent empty skb by adding a check on len.Harshit Mogalapalli1-0/+5
2021-11-16net: drop nopreempt requirement on sock_prot_inuse_add()Eric Dumazet1-4/+0
2021-10-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-4/+10
2021-10-05netlink: annotate data races around nlk->boundEric Dumazet1-4/+10
2021-10-05netlink: remove netlink_broadcast_filteredFlorian Westphal1-21/+2
2021-07-30net: netlink: Remove unused functionYajun Deng1-8/+0
2021-07-27net: netlink: add the case when nlh is NULLYajun Deng1-5/+4
2021-07-20netlink: Deal with ESRCH error in nlmsg_notify()Yajun Deng1-1/+3
2021-07-13net: Use nlmsg_unicast() instead of netlink_unicast()Yajun Deng1-1/+1
2021-06-29net: sock: introduce sk_error_reportAlexander Aring1-4/+4
2021-05-17netlink: disable IRQs for netlink_lock_table()Johannes Berg1-2/+4
2021-04-16netlink: don't call ->netlink_bind with table lock heldFlorian Westphal1-2/+2
2021-02-12mptcp: avoid lock_fast usage in accept pathFlorian Westphal1-0/+32
2021-02-04netlink: add tracepoint at NL_SET_ERR_MSGMarcelo Ricardo Leitner1-0/+8
2020-10-09netlink: export policy in extended ACKJohannes Berg2-0/+66
2020-10-09netlink: policy: refactor per-attr policy writingJohannes Berg1-28/+51
2020-10-06netlink: add mask validationJakub Kicinski1-0/+8
2020-10-03genetlink: allow dumping command-specific policyJakub Kicinski1-5/+36
2020-10-03genetlink: properly support per-op policy dumpingJohannes Berg1-10/+92
2020-10-03genetlink: factor skb preparation out of ctrl_dumppolicy()Johannes Berg1-6/+19
2020-10-03netlink: rework policy dump to support multiple policiesJohannes Berg2-21/+84
2020-10-03netlink: compare policy more accuratelyJohannes Berg1-4/+8
2020-10-02genetlink: switch control commands to per-op policiesJakub Kicinski1-3/+11
2020-10-02genetlink: use parsed attrs in dumppolicyJakub Kicinski1-7/+2
2020-10-02genetlink: bring back per op policyJakub Kicinski1-5/+13
2020-10-02genetlink: use .start callback for dumppolicyJakub Kicinski1-24/+24
2020-10-02genetlink: add a structure for dump stateJakub Kicinski2-27/+32
2020-10-02genetlink: add small version of opsJakub Kicinski1-32/+95
2020-10-02Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...David S. Miller1-14/+33
2020-10-02netlink: fix policy dump leakJohannes Berg2-15/+18
2020-09-24netlink/compat: Append NLMSG_DONE/extack to frag_listDmitry Safonov1-14/+33
2020-09-17netlink: add spaces around '&' in netlink_recv/sendmsg()Yang Yingliang1-4/+4
2020-09-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-2/+2
2020-09-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netLinus Torvalds1-1/+1
2020-08-31netlink: policy: correct validation type checkJohannes Berg1-1/+2
2020-08-28netlink: fix a data race in netlink_rcv_wake()zhudi1-1/+1
2020-08-24net: netlink: delete repeated wordsRandy Dunlap2-5/+5
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-1/+1
2020-08-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-0/+3
2020-08-19netlink: fix state reallocation in policy exportJohannes Berg1-0/+3
2020-08-18netlink: make NLA_BINARY validation more flexibleJohannes Berg1-13/+19
2020-08-06Merge tag 'thermal-v5.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-1/+1
2020-07-25bpf: Refactor bpf_iter_reg to have separate seq_info memberYonghong Song1-2/+6
2020-07-24net: pass a sockptr_t into ->setsockoptChristoph Hellwig1-2/+2
2020-07-21bpf: net: Use precomputed btf_id for bpf iteratorsYonghong Song1-1/+6
2020-07-21net: genetlink: Move initialization to core_initcallDaniel Lezcano1-1/+1
2020-07-01genetlink: remove genl_bindSean Tranchetti1-49/+0
2020-06-29genetlink: get rid of family->attrbufCong Wang1-35/+13
2020-06-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netLinus Torvalds1-16/+12
2020-06-14treewide: replace '---help---' in Kconfig files with 'help'Masahiro Yamada1-1/+1
2020-06-12genetlink: clean up family attributes allocationsCong Wang1-16/+12
2020-06-04genetlink: fix memory leaks in genl_family_rcv_msg_dumpit()Cong Wang1-36/+58
2020-05-13bpf: Enable bpf_iter targets registering ctx argument typesYonghong Song1-0/+5
2020-05-13bpf: net: Refactor bpf_iter target registrationYonghong Song1-9/+9
2020-05-09net: bpf: Add netlink and ipv6_route bpf_iter targetsYonghong Song1-2/+85
2020-04-30netlink: add infrastructure to expose policies to userspaceJohannes Berg3-1/+387
2020-03-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-26/+17
2020-03-16netlink: allow extack cookie also for error messagesMichal Kubecek1-26/+17
2020-03-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-1/+1
2020-03-11net: Add missing annotation for *netlink_seq_start()Jules Irenge1-0/+1
2020-02-29netlink: Use netlink header as base to calculate bad attribute offsetPablo Neira Ayuso1-1/+1
2020-02-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-2/+3
2020-02-22net: genetlink: return the error code when attribute parsing fails.Paolo Abeni1-2/+3
2020-02-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-2/+3
2020-02-20net: netlink: cap max groups which will be considered in netlink_bind()Nikolay Aleksandrov1-2/+3
2020-02-17net: netlink: Replace zero-length array with flexible-array memberGustavo A. R. Silva1-1/+1
2019-12-09treewide: Use sizeof_field() macroPankaj Bharadiya1-1/+1
2019-10-13genetlink: do not parse attributes for families with zero maxattrMichal Kubecek1-6/+4
2019-10-08net: genetlink: always allocate separate attrs for dumpit opsJiri Pirko1-11/+17
2019-10-06net: genetlink: remove unused genl_family_attrbuf()Jiri Pirko1-19/+0
2019-10-06net: genetlink: parse attrs and store in contect info struct during dumpitJiri Pirko1-17/+22
2019-10-06net: genetlink: push attrbuf allocation and parsing to a separate functionJiri Pirko1-22/+45
2019-10-06net: genetlink: introduce dump info struct to be available during dumpit opJiri Pirko1-9/+38
2019-10-06net: genetlink: push doit/dumpit code from genl_family_rcv_msgJiri Pirko1-77/+96
2019-06-14net: remove empty netlink_tap_exit_netLi RongQing1-5/+0
2019-06-11net: netlink: make netlink_walk_start() void return typeTaehee Yoo1-12/+3
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-5/+1
2019-05-21Merge tag 'spdx-5.2-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds3-0/+3
2019-05-21treewide: Add SPDX license identifier - Makefile/KconfigThomas Gleixner2-0/+2
2019-05-21treewide: Add SPDX license identifier for more missed filesThomas Gleixner1-0/+1
2019-05-19net: Treat sock->sk_drops as an unsigned int when printingPatrick Talbert1-1/+1
2019-05-04genetlink: do not validate dump requests if there is no policyMichal Kubecek1-10/+14
2019-05-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+2
2019-04-27genetlink: optionally validate strictly/dumpsJohannes Berg1-3/+26
2019-04-27netlink: make validation more configurable for future strictnessJohannes Berg1-2/+3
2019-04-27netlink: make nla_nest_start() add NLA_F_NESTED flagMichal Kubecek1-6/+6
2019-04-26genetlink: use idr_alloc_cyclic for family->id assignmentMarcel Holtmann1-2/+2
2019-04-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+2
2019-04-12net: netlink: Check address length before reading groups fieldTetsuo Handa1-1/+2
2019-03-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+2
2019-03-22genetlink: make policy common to familyJohannes Berg1-3/+3
2019-03-21genetlink: Fix a memory leak on error pathYueHaibing1-1/+2
2019-02-22rhashtable: Remove obsolete rhashtable_walk_init functionHerbert Xu1-9/+1
2019-01-19net: netlink: add helper to retrieve NETLINK_F_STRICT_CHKJakub Kicinski1-0/+8
2018-12-14net: netlink: rename NETLINK_DUMP_STRICT_CHK -> NETLINK_GET_STRICT_CHKJakub Kicinski1-2/+2
2018-10-16netlink: Add answer_flags to netlink_callbackDavid Ahern1-1/+2
2018-10-08netlink: Add new socket option to enable strict checking on dumpsDavid Ahern2-1/+21
2018-10-08netlink: Pass extack to dump handlersDavid Ahern1-1/+11
2018-09-12netlink: remove hash::nelems check in netlink_insertLi RongQing1-5/+0
2018-09-05netlink: Make groups check less stupid in netlink_bind()Dmitry Safonov1-4/+2
2018-08-05Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+2
2018-08-04netlink: Don't shift on 64 for ngroupsDmitry Safonov1-2/+2
2018-08-02Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+7
2018-08-01netlink: Fix spectre v1 gadget in netlink_create()Jeremy Cline1-0/+2
2018-07-30netlink: Don't shift with UB on nlk->ngroupsDmitry Safonov1-1/+5
2018-07-29netlink: Do not subscribe to non-existent groupsDmitry Safonov1-0/+1
2018-07-24netlink: do not store start function in netlink_cbFlorian Westphal1-3/+2
2018-06-28Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLLLinus Torvalds1-1/+1
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 Torvalds1-1/+1
2018-05-26net: convert datagram_poll users tp ->poll_maskChristoph Hellwig1-1/+1
2018-05-16proc: introduce proc_create_net{,_data}Christoph Hellwig1-16/+2
2018-05-04net/netlink: make sure the headers line up actual value outputYU Bo1-3/+3
2018-04-07netlink: fix uninit-value in netlink_sendmsgEric Dumazet1-0/+2
2018-04-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+3
2018-03-27net: Drop pernet_operations::asyncKirill Tkhai2-3/+0
2018-03-25netlink: make sure nladdr has correct size in netlink_connect()Alexander Potapenko1-0/+3
2018-03-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2018-03-16netlink: avoid a double skb free in genlmsg_mcast()Nicolas Dichtel1-1/+1
2018-02-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+3
2018-02-22netlink: put module reference if dump start failsJason A. Donenfeld1-1/+3
2018-02-13net: Convert netlink_tap_net_opsKirill Tkhai1-0/+1
2018-02-13net: Convert genl_pernet_opsKirill Tkhai1-0/+1
2018-02-13net: Convert netlink_net_opsKirill Tkhai1-0/+1
2018-02-12net: make getname() functions return length rather than use int* parameterDenys Vlasenko1-3/+2
2018-02-08netlink: ensure to loop over all netns in genlmsg_multicast_allns()Nicolas Dichtel1-2/+10
2018-01-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2018-01-18netlink: reset extack earlier in netlink_rcv_skbXin Long1-1/+1
2018-01-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+2
2018-01-16net: delete /proc THIS_MODULE referencesAlexey Dobriyan1-1/+0
2018-01-15netlink: extack needs to be reset each time through loopDavid Ahern1-1/+2
2017-12-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+3
2017-12-11netlink: Add netns check on tapsKevin Cernekee1-0/+3
2017-12-11netlink: convert netlink tap spinlock to mutexCong Wang1-6/+6
2017-12-11netlink: make netlink tap per netnsCong Wang1-17/+49
2017-12-11rhashtable: Change rhashtable_walk_start to return voidTom Herbert2-8/+5
2017-11-14netlink: remove unnecessary forward declarationJohannes Berg1-1/+0
2017-11-13af_netlink: ensure that NLMSG_DONE never fails in dumpsJason A. Donenfeld2-6/+12
2017-11-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller2-0/+2
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman2-0/+2
2017-11-01netlink: Allow ext_ack to carry non-error messagesDavid Ahern1-9/+9
2017-10-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-4/+4
2017-10-18netlink: fix netlink_ack() extack raceJohannes Berg1-4/+4
2017-10-18netlink: use NETLINK_CB(in_skb).sk instead of looking it upJohannes Berg1-10/+2
2017-10-09netlink: do not set cb_running if dump's start() errsJason A. Donenfeld1-6/+7
2017-09-30netlink: do not proceed if dump's start() errsJason A. Donenfeld1-2/+5
2017-09-06netlink: access nlk groups safely in netlink bind and getnameXin Long1-4/+12
2017-09-06netlink: fix an use-after-free issue for nlk groupsXin Long1-3/+3
2017-07-01net: convert sock.sk_refcnt from atomic_t to refcount_tReshetova, Elena1-3/+3
2017-07-01net: convert sock.sk_wmem_alloc from atomic_t to refcount_tReshetova, Elena1-1/+1
2017-07-01net: convert sk_buff.users from atomic_t to refcount_tReshetova, Elena1-3/+3
2017-06-16networking: make skb_put & friends return void pointersJohannes Berg1-1/+1
2017-06-16networking: introduce and use skb_put_data()Johannes Berg1-1/+1
2017-06-01netlink: don't send unknown nsidNicolas Dichtel1-1/+3
2017-04-13netlink: pass extended ACK struct where availableJohannes Berg1-1/+1
2017-04-13netlink: pass extended ACK struct to parsing functionsJohannes Berg1-1/+1
2017-04-13netlink: allow sending extended ACK with cookie on successJohannes Berg1-11/+22
2017-04-13genetlink: pass extended ACK report downJohannes Berg1-2/+4
2017-04-13netlink: extended ACK reportingJohannes Berg3-10/+65
2017-04-05netlink/diag: report flags for netlink socketsAndrey Vagin3-8/+33
2017-03-22genetlink: fix counting regression on ctrl_dumpfamily()Stanislaw Gruszka1-1/+3
2017-03-21crypto: deadlock between crypto_alg_sem/rtnl_mutex/genl_mutexHerbert Xu1-0/+41