diff options
author | Julian Anastasov <ja@ssi.bg> | 2008-04-29 12:21:23 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-29 12:21:23 +0200 |
commit | 2ad17defd596ca7e8ba782d5fc6950ee0e99513c (patch) | |
tree | fa971402d7e832c3dcfa4bb2dd401b76f5249a58 /net/compat.c | |
parent | bridge: kernel panic when unloading bridge module (diff) | |
download | linux-2ad17defd596ca7e8ba782d5fc6950ee0e99513c.tar.xz linux-2ad17defd596ca7e8ba782d5fc6950ee0e99513c.zip |
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 <ja@ssi.bg>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/compat.c')
0 files changed, 0 insertions, 0 deletions