summaryrefslogtreecommitdiffstats
path: root/lib/nlattr.c
AgeCommit message (Expand)AuthorFilesLines
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-09netlink: 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-04-30netlink: factor out policy range helpersJohannes Berg1-21/+74
2020-04-30netlink: remove NLA_EXACT_LEN_WARNJohannes Berg1-6/+10
2020-04-30netlink: allow NLA_MSECS to have range validationJohannes Berg1-0/+2
2020-04-30netlink: extend policy range validationJohannes Berg1-21/+92
2020-04-30netlink: limit recursion depth in policy validationJohannes Berg1-12/+34
2020-04-30netlink: 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-27netlink: add strict parsing for future attributesJohannes Berg1-0/+4
2019-04-27netlink: make validation more configurable for future strictnessJohannes Berg1-83/+88
2019-04-27netlink: add NLA_MIN_LENJohannes Berg1-1/+8
2018-10-08netlink: Add strict version of nlmsg_parse and nla_parseDavid Ahern1-12/+36
2018-10-01netlink: add validation function to policyJohannes Berg1-0/+7
2018-10-01netlink: 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-18netlink: add ethernet address policy typesJohannes Berg1-1/+7
2018-09-18netlink: 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-03Merge 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-30net 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
2017-06-13networking: use skb_put_zero()Johannes Berg1-2/+1
2017-04-13netlink: pass extended ACK struct to parsing functionsJohannes Berg1-10/+18
2016-11-19netlink: smaller nla_attr_minlen tableAlexey Dobriyan1-1/+1
2016-04-23libnl: fix help of _64bit functionsNicolas Dichtel1-2/+6
2016-04-21libnl: add more helpers to align attributes on 64-bitNicolas Dichtel1-0/+99
2015-03-31netlink: pad nla_memcpy dest buffer with zeroesJiri Benc1-0/+2
2015-02-12lib/nlattr.c: remove redundant includeRasmus Villemoes1-1/+0