diff options
author | Dmitry Safonov <dima@arista.com> | 2020-09-21 17:36:54 +0300 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2020-09-24 09:53:03 +0300 |
commit | e11eb32de3a7854d6b366dee17dd36c9ab0c39de (patch) | |
tree | aa53029820cde8be17b80907d88432acdd19f438 /fs | |
parent | 5f3eea6b7e8f58cf5c8a9d4b9679dc19e9e67ba3 (diff) | |
download | linux-e11eb32de3a7854d6b366dee17dd36c9ab0c39de.tar.xz |
netlink/compat: Append NLMSG_DONE/extack to frag_list
Modules those use netlink may supply a 2nd skb, (via frag_list)
that contains an alternative data set meant for applications
using 32bit compatibility mode.
In such a case, netlink_recvmsg will use this 2nd skb instead of the
original one.
Without this patch, such compat applications will retrieve
all netlink dump data, but will then get an unexpected EOF.
Cc: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Dmitry Safonov <dima@arista.com>
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions