summaryrefslogtreecommitdiff
path: root/lib/nlattr.c
AgeCommit message (Expand)AuthorFilesLines
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
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-20netlink: smaller nla_attr_minlen tableAlexey Dobriyan1-1/+1
2016-04-24libnl: 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-13lib/nlattr.c: remove redundant includeRasmus Villemoes1-1/+0
2014-06-08Merge branch 'next' (accumulated 3.16 merge window patches) into masterLinus Torvalds1-9/+8
2014-06-05lib/nlattr.c: move EXPORT_SYMBOL after functionsFabian Frederick1-9/+8
2014-06-02netlink: rate-limit leftover bytes warning and print process nameMichal Schmidt1-2/+2
2014-04-01netlink: don't compare the nul-termination in nla_strcmpPablo Neira1-2/+8
2012-08-30netlink: add minlen validation for the new signed typesJulian Anastasov1-0/+4