diff options
author | Johannes Berg <johannes.berg@intel.com> | 2018-08-23 10:48:13 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2018-11-09 11:20:07 +0100 |
commit | 801f87469ee8d97af5997ef52188bb0e1908b110 (patch) | |
tree | 099bea79832948f202936299d1159b0f4d67be61 /net/packet/diag.c | |
parent | e0ba7095433a717a62d163dafe0fc2b0eba70d4b (diff) | |
download | linux-801f87469ee8d97af5997ef52188bb0e1908b110.tar.gz linux-801f87469ee8d97af5997ef52188bb0e1908b110.tar.bz2 linux-801f87469ee8d97af5997ef52188bb0e1908b110.zip |
netlink: add nl_set_extack_cookie_u64()
Add a helper function nl_set_extack_cookie_u64() to use a u64 as
the netlink extended ACK cookie, to avoid having to open-code it
in any users of the cookie.
A u64 should be sufficient for most subsystems though we allow
for up to 20 bytes right now. This also matches the cookies in
nl80211 where I intend to use this.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/packet/diag.c')
0 files changed, 0 insertions, 0 deletions