commit | 357c4774b5b08878d980847f496af38869e7aad0 | [log] [tgz] |
---|---|---|
author | Sasha Levin <sasha.levin@oracle.com> | Tue Jan 13 12:46:41 2015 -0500 |
committer | David S. Miller <davem@davemloft.net> | Tue Jan 13 17:26:27 2015 -0500 |
tree | 52cd1f70e80d3a03671539a8795a8d2201915ae5 | |
parent | 86cfeab6b510a2fe94683bf71f9b96b686e2e0ce [diff] |
tipc: correctly handle releasing a not fully initialized sock Commit f2f9800d4955 "tipc: make tipc node table aware of net namespace" has added a dereference of sock->sk before making sure it's not NULL, which makes releasing a tipc socket NULL pointer dereference for sockets that are not fully initialized. Signed-off-by: Sasha Levin <sasha.levin@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>