Skip to content
Commit 619b1745 authored by Florian Westphal's avatar Florian Westphal Committed by David S. Miller
Browse files

tipc: fix null deref crash in compat config path



msg.dst_sk needs to be set up with a valid socket because some callbacks
later derive the netns from it.

Fixes: 263ea09084d172d ("Revert "genl: Add genlmsg_new_unicast() for unicast message allocation")
Reported-by: default avatarJon Maloy <maloy@donjonn.com>
Bisected-by: default avatarJon Maloy <maloy@donjonn.com>
Signed-off-by: default avatarFlorian Westphal <fw@strlen.de>
Acked-by Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d25a0125
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment