summaryrefslogtreecommitdiff
path: root/lib/nlattr.c
AgeCommit message (Expand)AuthorFilesLines
2024-02-23netlink: add nla be16/32 types to minlen arrayFlorian Westphal1-0/+4
2024-01-19string: Remove strlcpy()Kees Cook1-1/+1
2023-10-20netlink: add variable-length / auto integersJakub Kicinski1-0/+22
2023-07-27netlink: allow be16 and be32 types in all uint policy checksFlorian Westphal1-0/+6
2023-01-21netlink: prevent potential spectre v1 gadgetsEric Dumazet1-0/+3
2022-11-09lib: Fix some kernel-doc commentsYang Li1-1/+1
2022-11-02netlink: introduce bigendian integer typesFlorian Westphal1-26/+15
2022-09-07netlink: introduce NLA_POLICY_MAX_BEFlorian Westphal1-4/+27
2021-07-08lib: fix spelling mistakesZhen Lei1-2/+2
2021-05-05net: fix nla_strcmp to handle more then one trailing null characterMaciej Żenczykowski1-1/+1
2020-12-16Merge tag 'fallthrough-fixes-clang-5.11-rc1' of git://git.kernel.org/pub/scm/...Linus Torvalds1-1/+1
2020-11-19lib: Fix fall-through warnings for ClangGustavo A. R. Silva1-1/+1
2020-11-16treewide: rename nla_strlcpy to nla_strscpy.Francis Laniel1-3/+3
2020-11-16Modify return value of nla_strlcpy to match that of strscpy.Francis Laniel1-14/+25
2020-11-16Fix unefficient call to memset before memcpu in nla_strlcpy.Francis Laniel1-1/+2
2020-10-10netlink: export policy in extended ACKJohannes Berg1-17/+18
2020-10-06netlink: add mask validationJakub Kicinski1-0/+36
2020-08-25netlink: remove duplicated nla_need_padding_for_64bit() checkMiaohe Lin1-2/+1
2020-08-18netlink: make NLA_BINARY validation more flexibleJohannes Berg1-21/+39
2020-05-01netlink: factor out policy range helpersJohannes Berg1-21/+74
2020-05-01netlink: remove NLA_EXACT_LEN_WARNJohannes Berg1-6/+10
2020-05-01netlink: allow NLA_MSECS to have range validationJohannes Berg1-0/+2
2020-05-01netlink: extend policy range validationJohannes Berg1-21/+92
2020-05-01netlink: limit recursion depth in policy validationJohannes Berg1-12/+34
2020-05-01netlink: remove type-unsafe validation_data pointerJohannes Berg1-10/+10
2019-05-04netlink: add validation of NLA_F_NESTED flagMichal Kubecek1-0/+15
2019-05-04netlink: set bad attribute also on maxtype checkMichal Kubecek1-1/+2
2019-04-28netlink: add strict parsing for future attributesJohannes Berg1-0/+4
2019-04-28netlink: make validation more configurable for future strictnessJohannes Berg1-83/+88
2019-04-28netlink: add NLA_MIN_LENJohannes Berg1-1/+8
2018-10-08netlink: Add strict version of nlmsg_parse and nla_parseDavid Ahern1-12/+36
2018-10-02netlink: add validation function to policyJohannes Berg1-0/+7
2018-10-02netlink: add attribute range validation to policyJohannes Berg1-0/+72
2018-09-28netlink: add nested array policy validationJohannes Berg1-0/+51
2018-09-28netlink: allow NLA_NESTED to specify nested policy to validateJohannes Berg1-0/+14
2018-09-28netlink: move extack setting into validate_nla()Johannes Berg1-32/+36
2018-09-28netlink: make validation_data constJohannes Berg1-3/+2
2018-09-28netlink: remove NLA_NESTED_COMPATJohannes Berg1-11/+0
2018-09-19netlink: add ethernet address policy typesJohannes Berg1-1/+7
2018-09-19netlink: add NLA_REJECT policy typeJohannes Berg1-7/+16
2018-06-28netlink: Return extack message if attribute validation failsDavid Ahern1-2/+2
2017-12-07netlink: Relax attr validation for fixed length typesDavid Ahern1-6/+16
2017-11-11net: netlink: Update attr validation to require exact length for some typesDavid Ahern1-3/+16
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-09-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-nextDavid S. Miller1-0/+24
2017-07-31netlink: Introduce nla_strdup()Phil Sutter1-0/+24
2017-07-31net netlink: Add new type NLA_BITFIELD32Jamal Hadi Salim1-0/+30
2017-06-20net: manual clean code which call skb_put_[data:zero]yuan linyu1-5/+1
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