]> git.baikalelectronics.ru Git - kernel.git/commit
xfrm: avoid possible oopse in xfrm_alloc_dst
authorHiroaki SHIMODA <shimoda.hiroaki@gmail.com>
Fri, 11 Feb 2011 07:08:33 +0000 (23:08 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Feb 2011 07:08:33 +0000 (23:08 -0800)
commit5e7ced3d4ccc2e8874278b5e4d846c92adb626aa
tree3b3092f2876be20a48088ee0d1cf29cf6028c843
parent2d3bc5141eb8c2118a1585727f584d65082bebc0
xfrm: avoid possible oopse in xfrm_alloc_dst

Commit bceb06bc18419e (xfrm: cache bundles instead of policies for
outgoing flows) introduced possible oopse when dst_alloc returns NULL.

Signed-off-by: Hiroaki SHIMODA <shimoda.hiroaki@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_policy.c