diff options
author | Florian Westphal <fw@strlen.de> | 2020-08-16 23:14:20 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-08-16 21:11:37 -0700 |
commit | b3b2854dcf704c1db05d897072f98e8b79398af1 (patch) | |
tree | 820241533efd4555882da00f2fefd68fb14318b7 /net/tipc/netlink_compat.c | |
parent | bd71ea60673180eccf17b1a1dda3504a04783789 (diff) |
mptcp: sendmsg: reset iter on error redux
This fix wasn't correct: When this function is invoked from the
retransmission worker, the iterator contains garbage and resetting
it causes a crash.
As the work queue should not be performance critical also zero the
msghdr struct.
Fixes: 35759383133f64d "(mptcp: sendmsg: reset iter on error)"
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/netlink_compat.c')
0 files changed, 0 insertions, 0 deletions