net: check return value for dst_alloc
authorMadalin Bucur <madalin.bucur@freescale.com>
Mon, 26 Sep 2011 07:04:36 +0000 (07:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Sep 2011 19:32:06 +0000 (15:32 -0400)
commitd4cae56219755ccf8acfc8e2c1927009ff29d8c6
tree28045314ccfd03e3bf927319716808bbc23a8a0f
parent2015de5fe2a47086a3260802275932bfd810884e
net: check return value for dst_alloc

return value of dst_alloc must be checked before use

Signed-off-by: Madalin Bucur <madalin.bucur@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_policy.c