aboutsummaryrefslogtreecommitdiffstats
path: root/net/netlink
AgeCommit message (Expand)AuthorFilesLines
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-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
2017-01-27net: adjust skb->truesize in pskb_expand_head()Eric Dumazet1-5/+3
2017-01-16netlink: do not enter direct reclaim from netlink_trim()Eric Dumazet1-1/+3
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-12-10netlink: use blocking notifierWANG Cong1-4/+4
2016-12-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-17/+15
2016-12-05netlink: Do not schedule work from sk_destructHerbert Xu1-17/+15
2016-12-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller2-4/+25
2016-11-29netlink: Call cb->done from a worker threadHerbert Xu2-4/+25
2016-11-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller2-4/+2
2016-11-03genetlink: fix a memory leak on error pathWANG Cong1-1/+3
2016-11-03netlink: netlink_diag_dump() runs without locksEric Dumazet1-4/+1
2016-11-01genetlink: fix error return code in genl_register_family()Wei Yongjun1-1/+3
2016-10-29genetlink: Fix generic netlink family unregisterpravin shelar1-1/+1
2016-10-27genetlink: mark families as __ro_after_initJohannes Berg1-1/+1
2016-10-27genetlink: use idr to track familiesJohannes Berg1-165/+106
2016-10-27genetlink: statically initialize familiesJohannes Berg1-15/+20
2016-10-27genetlink: no longer support using static family IDsJohannes Berg1-15/+22
2016-10-27genetlink: introduce and use genl_family_attrbuf()Johannes Berg1-0/+19
2016-10-06netlink: do not enter direct reclaim from netlink_dump()Eric Dumazet1-3/+4
2016-09-07netlink: don't forget to release a rhashtable_iter structureAndrey Vagin1-1/+0
2016-09-01net: make genetlink ctrl ops conststephen hemminger1-2/+2
2016-08-19netlink: Use rhashtable walk interface in diag dumpHerbert Xu1-30/+73
2016-06-09net/netlink/af_netlink.h: Remove unused structure.Fabien Siron1-14/+0
2016-05-16netlink: Fix dump skb leak/double freeHerbert Xu1-2/+5
2016-04-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2016-04-10netlink: don't send NETLINK_URELEASE for unbound socketsDmitry Ivanov1-1/+1
2016-04-05rhashtable: accept GFP flags in rhashtable_walk_initBob Copeland1-1/+2
2016-03-22netlink: add support for NIC driver ioctlsDavid Decotigny1-1/+9
2016-02-18nfnetlink: Revert "nfnetlink: add support for memory mapped netlink"Florian Westphal1-16/+4
2016-02-18Revert "genl: Add genlmsg_new_unicast() for unicast message allocation"Florian Westphal1-21/+0
2016-02-18netlink: remove mmapped netlink supportFlorian Westphal4-808/+9
2016-02-11openvswitch: allow management from inside user namespacesTycho Andersen1-0/+4
2016-01-29netlink: not trim skb for mmaped socket when dumpKen-ichirou MATSUZAWA1-1/+2
2016-01-13genetlink: Fix off-by-one in genl_allocate_reserve_groups()David S. Miller1-1/+1
2016-01-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linuxDavid S. Miller2-0/+20
2016-01-12net: netlink: Fix multicast group storage allocation for families with more t...Matti Vaittinen1-1/+1
2015-12-15netlink: add a start callback for starting a netlink dumpTom Herbert2-0/+20
2015-11-06mm, page_alloc: distinguish between being unable to sleep, unwilling to sleep...Mel Gorman1-1/+1
2015-10-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+2
2015-10-22netlink: fix locking around NETLINK_LIST_MEMBERSHIPSDavid Herrmann1-2/+2
2015-10-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-12/+22
2015-10-18netlink: Trim skb to alloc size to avoid MSG_TRUNCArad, Ronen1-12/+22
2015-10-09net/netlink: lockdep_genl_is_held can be booleanYaowei Bai1-1/+1
2015-09-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller2-14/+59
2015-09-24genetlink: simplify genl_notifyJiri Benc1-6/+6
2015-09-24netlink: Replace rhash_portid with boundHerbert Xu2-12/+29
2015-09-20netlink: Fix autobind race condition that leads to zero port IDHerbert Xu2-5/+8
2015-09-11netlink, mmap: transform mmap skb into full skb on tapsDaniel Borkmann2-7/+32
2015-09-09netlink, mmap: fix edge-case leakages in nf queue zero-copyDaniel Borkmann1-6/+12
2015-09-09netlink, mmap: don't walk rx ring on poll if receive queue non-emptyDaniel Borkmann1-5/+12
2015-08-30netlink: rx mmap: fix POLLIN conditionKen-ichirou MATSUZAWA1-12/+16
2015-08-28netlink: mmap: fix lookup frame positionKen-ichirou MATSUZAWA1-2/+2
2015-08-28netlink: add NETLINK_CAP_ACK socket optionChristophe Ricard1-3/+24
2015-08-23netlink: mmap: fix tx type checkKen-ichirou MATSUZAWA1-1/+1
2015-08-10netlink: make sure -EBUSY won't escape from netlink_insertDaniel Borkmann1-0/+5
2015-07-21netlink: don't hold mutex in rcu callback when releasing mmapd ringFlorian Westphal1-32/+47
2015-07-03netlink: Delete an unnecessary check before the function call "module_put"Markus Elfring1-1/+1
2015-06-21netlink: add API to retrieve all group membershipsDavid Herrmann1-0/+22
2015-05-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+2
2015-05-17netlink: Use random autobind roverHerbert Xu1-6/+10
2015-05-16netlink: Reset portid after netlink_insert failureHerbert Xu1-0/+1
2015-05-14netlink: move nl_table in read_mostly sectionEric Dumazet1-1/+1
2015-05-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+0
2015-05-11netlink: Create kernel netlink sockets in the proper network namespaceEric W. Biederman1-8/+6
2015-05-11net: Pass kern from net_proto_family.create to sk_allocEric W. Biederman1-6/+5
2015-05-09netlink: allow to listen "all" netnsNicolas Dichtel1-5/+47
2015-05-09netlink: rename private flags and statesNicolas Dichtel1-29/+30
2015-05-03netlink: Remove max_size settingHerbert Xu1-1/+0
2015-04-25net: fix crash in build_skb()Eric Dumazet1-4/+2
2015-03-25rhashtable: provide len to obj_hashfnPatrick McHardy1-1/+1
2015-03-24rhashtable: Disable automatic shrinking by defaultThomas Graf1-0/+1
2015-03-23netlink: Use default rhashtable hashfnHerbert Xu1-2/+1
2015-03-21netlink: Remove netlink_compare_arg.trailerHerbert Xu1-2/+3
2015-03-20netlink: Move namespace into hash keyHerbert Xu1-32/+56
2015-03-18netlink: Use rhashtable max_size instead of max_shiftHerbert Xu1-1/+1
2015-03-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+0
2015-03-02net: Remove iocb argument from sendmsg and recvmsgYing Xue1-4/+2
2015-02-27rhashtable: remove indirection for grow/shrink decision functionsDaniel Borkmann1-2/+0
2015-02-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+2
2015-02-04Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...David S. Miller1-0/+5
2015-02-04netlink: Use rhashtable walk iteratorHerbert Xu1-66/+64