diff options
author | 2015-04-23 09:37:39 -0400 | |
---|---|---|
committer | 2015-04-23 11:50:34 -0400 | |
commit | 9871b27f6705fc6e0ba633b136369a289b2bfb99 (patch) | |
tree | 7b2a24877f0ba22180ed214d533102dd3fcb19b5 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | tipc: fix topology server broken issue (diff) | |
download | linux-dev-9871b27f6705fc6e0ba633b136369a289b2bfb99.tar.xz linux-dev-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 <erik.hugne@ericsson.com>
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions