net: ipv4: tcp: Fix crash in tcp_nuke_addr
authorColin Cross <ccross@android.com>
Wed, 22 Jun 2011 21:27:37 +0000 (14:27 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:38:43 +0000 (21:38 -0800)
commit25d82269995c1c4ec1f65a7d3f0fdc4b92bc9ce8
tree03ab9bea89b0dead6a39563df469b7504ff3332a
parent7d6c56f8cf87f79bee67afc402837a8ddfe1e6c2
net: ipv4: tcp: Fix crash in tcp_nuke_addr

ip_route_output_key can return an ERR_PTR, don't dereference it.

Change-Id: I6b86a451b2bdb33873d79b3cf90c11dbe72bc081
Signed-off-by: Colin Cross <ccross@android.com>
net/ipv4/tcp.c