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 [NETNS]: Add netns parameter to inet_(dev_)add_type. 2008-01-28 15:01:27 -08:00
ip_vs_ctl.c [NETNS]: Add netns parameter to inet_(dev_)add_type. 2008-01-28 15:01:27 -08:00
ip_vs_dh.c
ip_vs_est.c [IPVS]: Switch to using ctl_paths. 2008-01-28 15:01:08 -08:00
ip_vs_ftp.c
ip_vs_lblc.c [IPVS]: Switch to using ctl_paths. 2008-01-28 15:01:08 -08:00
ip_vs_lblcr.c [IPVS]: Switch to using ctl_paths. 2008-01-28 15:01:08 -08:00
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 [IPVS]: Switch to using ctl_paths. 2008-01-28 15:01:08 -08:00
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 ipvs: Make wrr "no available servers" error message rate-limited 2008-02-05 20:00:10 -08:00
ip_vs_xmit.c [NETNS]: Add namespace parameter to ip_route_output_key. 2008-01-28 15:11:07 -08:00
Kconfig
Makefile