linux/net/ipv4/ipvs
Julian Anastasov 2ad17defd5 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>
2008-04-29 03:21:23 -07:00
..
ip_vs_app.c
ip_vs_conn.c
ip_vs_core.c
ip_vs_ctl.c
ip_vs_dh.c
ip_vs_est.c
ip_vs_ftp.c
ip_vs_lblc.c
ip_vs_lblcr.c
ip_vs_lc.c
ip_vs_nq.c
ip_vs_proto_ah.c ipvs: fix oops in backup for fwmark conn templates 2008-04-29 03:21:23 -07:00
ip_vs_proto_esp.c ipvs: fix oops in backup for fwmark conn templates 2008-04-29 03:21:23 -07:00
ip_vs_proto_tcp.c ipvs: fix oops in backup for fwmark conn templates 2008-04-29 03:21:23 -07:00
ip_vs_proto_udp.c ipvs: fix oops in backup for fwmark conn templates 2008-04-29 03:21:23 -07:00
ip_vs_proto.c ipvs: fix oops in backup for fwmark conn templates 2008-04-29 03:21:23 -07:00
ip_vs_rr.c
ip_vs_sched.c
ip_vs_sed.c
ip_vs_sh.c
ip_vs_sync.c ipvs: fix oops in backup for fwmark conn templates 2008-04-29 03:21:23 -07:00
ip_vs_wlc.c
ip_vs_wrr.c
ip_vs_xmit.c
Kconfig
Makefile