aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/garbage.c
diff options
context:
space:
mode:
authorErik Hugne <[email protected]>2015-04-23 13:37:39 +0000
committerDavid S. Miller <[email protected]>2015-04-23 15:50:34 +0000
commit9871b27f6705fc6e0ba633b136369a289b2bfb99 (patch)
tree7b2a24877f0ba22180ed214d533102dd3fcb19b5 /net/unix/garbage.c
parenttipc: fix topology server broken issue (diff)
downloadkernel-9871b27f6705fc6e0ba633b136369a289b2bfb99.tar.gz
kernel-9871b27f6705fc6e0ba633b136369a289b2bfb99.zip
tipc: fix random link reset problem
In the function tipc_sk_rcv(), the stack variable 'err' is only initialized to TIPC_ERR_NO_PORT for the first iteration over the link input queue. If a chain of messages are received from a link, failure to lookup the socket for any but the first message will cause the message to bounce back out on a random link. We fix this by properly initializing err. Signed-off-by: Erik Hugne <[email protected]> Signed-off-by: Jon Maloy <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions