commit | b15ca182ed136087f6a2cb9ffe880c923f36a56e | [log] [tgz] |
---|---|---|
author | Thomas Graf <tgraf@suug.ch> | Wed Oct 26 10:53:16 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sat Oct 29 14:57:42 2016 -0400 |
tree | 9f5b9829fdeb6491eae3c19d92a1a3a80e19f31d | |
parent | f8da977989c5d5d2f38e025d4ac1e18243723dbb [diff] |
netlink: Add nla_memdup() to wrap kmemdup() use on nlattr Wrap several common instances of: kmemdup(nla_data(attr), nla_len(attr), GFP_KERNEL); Signed-off-by: Thomas Graf <tgraf@suug.ch> Acked-by: Johannes Berg <johannes@sipsolutions.net> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: David S. Miller <davem@davemloft.net>