summaryrefslogtreecommitdiffstats
path: root/net/iucv/af_iucv.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2007-07-26 00:05:07 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-07-31 02:28:02 -0700
commit94571065757a4f2619c48ab4e36cafdc635028ce (patch)
tree4a7a00e06acdf51bef9ef987c90975c9ccda4e32 /net/iucv/af_iucv.c
parent0ed72ec4afb9fbd584e03763707d3db0f62ee1be (diff)
downloadop-kernel-dev-94571065757a4f2619c48ab4e36cafdc635028ce.zip
op-kernel-dev-94571065757a4f2619c48ab4e36cafdc635028ce.tar.gz
[TIPC]: fix tipc_link_create error handling
if printbuf allocation or tipc_node_attach_link() fails, invalid references to the link are left in the associated node and bearer structures. Fix by allocating printbuf early and moving timer initialization and the addition of the new link to the b_ptr->links list after tipc_node_attach_link() succeeded. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/iucv/af_iucv.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud