netlink: Introduce nla_strdup()
authorPhil Sutter <phil@nwl.cc>
Thu, 27 Jul 2017 14:56:40 +0000 (16:56 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 31 Jul 2017 18:41:50 +0000 (20:41 +0200)
commit2cf0c8b3e6942ecafe6ebb1a6d0328a81641bf39
tree73cde1e5fb89887682cdd7f221b34d424d0407f8
parent6e692678d74289d6129bbd4bb20bb9fe01278faa
netlink: Introduce nla_strdup()

This is similar to strdup() for netlink string attributes.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netlink.h
lib/nlattr.c