summaryrefslogtreecommitdiffstats
path: root/net/netlink/genetlink.c
AgeCommit message (Expand)AuthorFilesLines
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-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-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-09-30genetlink: reject use of nlmsg_flags for new commandsJakub Kicinski1-1/+31
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 Kicinski1-1/+5
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-02-12mptcp: avoid lock_fast usage in accept pathFlorian Westphal1-0/+32
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 Berg1-1/+2
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 Kicinski1-10/+18
2020-10-02genetlink: add small version of opsJakub Kicinski1-32/+95
2020-10-02netlink: fix policy dump leakJohannes Berg1-1/+8
2020-08-24net: netlink: delete repeated wordsRandy Dunlap1-1/+1
2020-08-06Merge tag 'thermal-v5.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-1/+1
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-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-04-30netlink: add infrastructure to expose policies to userspaceJohannes Berg1-0/+78
2020-02-22net: genetlink: return the error code when attribute parsing fails.Paolo Abeni1-2/+3
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