diff options
| author | Thomas Graf <[email protected]> | 2016-10-26 08:53:16 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-10-29 18:57:42 +0000 |
| commit | b15ca182ed136087f6a2cb9ffe880c923f36a56e (patch) | |
| tree | 9f5b9829fdeb6491eae3c19d92a1a3a80e19f31d /net/switchdev/switchdev.c | |
| parent | net: ip, diag: include net/inet_sock.h (diff) | |
| download | kernel-b15ca182ed136087f6a2cb9ffe880c923f36a56e.tar.gz kernel-b15ca182ed136087f6a2cb9ffe880c923f36a56e.zip | |
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 <[email protected]>
Acked-by: Johannes Berg <[email protected]>
Acked-by: Daniel Borkmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
