commit | 90bdfcb76f7d3b4a763ded3242277578ef22eda4 | [log] [tgz] |
---|---|---|
author | Ying Xue <ying.xue@windriver.com> | Mon May 04 10:36:48 2015 +0800 |
committer | David S. Miller <davem@davemloft.net> | Mon May 04 15:04:01 2015 -0400 |
tree | 0edc984430d6ccc5c417ccb8a3600cbe8b75e7ed | |
parent | a13683f292b2ce697f71fa3788a9335ebcb32676 [diff] |
tipc: deal with return value of tipc_conn_new callback Once tipc_conn_new() returns NULL, the connection should be shut down immediately, otherwise, oops may happen due to the NULL pointer. Signed-off-by: Ying Xue <ying.xue@windriver.com> Reviewed-by: Jon Maloy <jon.maloy@ericson.com> Signed-off-by: David S. Miller <davem@davemloft.net>