From: Julian Anastasov Date: Tue, 29 Apr 2008 10:21:23 +0000 (-0700) Subject: ipvs: fix oops in backup for fwmark conn templates X-Git-Tag: v2.6.26-rc1~104^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ad17defd596ca7e8ba782d5fc6950ee0e99513c;p=pandora-kernel.git ipvs: fix oops in backup for fwmark conn templates Fixes bug http://bugzilla.kernel.org/show_bug.cgi?id=10556 where conn templates with protocol=IPPROTO_IP can oops backup box. Result from ip_vs_proto_get() should be checked because protocol value can be invalid or unsupported in backup. But for valid message we should not fail for templates which use IPPROTO_IP. Also, add checks to validate message limits and connection state. Show state NONE for templates using IPPROTO_IP. Signed-off-by: Julian Anastasov Signed-off-by: David S. Miller --- Reading git-diff-tree failed