From: Steffen Klassert Date: Tue, 29 Apr 2014 05:50:44 +0000 (+0200) Subject: xfrm4: Properly handle unsupported protocols X-Git-Tag: omap-for-v3.16/fixes-against-rc1~146^2~30^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61622cc6f29034d0479f7ac16f3d48f1eeabf3a1;p=pandora-kernel.git xfrm4: Properly handle unsupported protocols We don't catch the case if an unsupported protocol is submitted to the xfrm4 protocol handlers, this can lead to NULL pointer dereferences. Fix this by adding the appropriate checks. Fixes: 3328715e ("xfrm4: Add IPsec protocol multiplexer") Signed-off-by: Steffen Klassert --- Reading git-diff-tree failed