Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Florian Westphal <[email protected]> Signed-off-by: Dmitry Safonov <[email protected]> Reviewed-by: Johannes Berg <[email protected]> Signed-off-by: Steffen Klassert <[email protected]>
- Loading branch information