diff options
author | Johannes Berg <johannes.berg@intel.com> | 2017-10-16 21:48:21 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2017-10-17 09:16:30 +0200 |
commit | 60f18ada41ef32e0554b4c7056d3868bcaa515be (patch) | |
tree | c9c41c392d051ac74a572636466047f01cf6f143 /patches | |
parent | c6db471aace2344cf0c0afe2625106389fcf608d (diff) |
backports: fully add netlink extack for generic netlink
The previous backport just made the code compatible, but removed
the extack functionality entirely.
By ignoring the setsockopt() and just assuming that userspace does
in fact support extack (which is true for all of wifi and in fact
all users of libnl), we can support full extack functionality even
on kernels that don't support it.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'patches')
-rw-r--r-- | patches/0078-genl-extack.cocci | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/patches/0078-genl-extack.cocci b/patches/0078-genl-extack.cocci index b2506174..5560e09d 100644 --- a/patches/0078-genl-extack.cocci +++ b/patches/0078-genl-extack.cocci @@ -3,3 +3,9 @@ struct genl_info *info; @@ -info->extack +genl_info_extack(info) + +@@ +struct genl_info *info; +@@ +-info->userhdr ++genl_info_userhdr(info) |