OpenCloudOS-Kernel/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
..
Kconfig [IPVS]: Use menuconfig objects. 2007-05-24 16:36:47 -07:00
Makefile [IPVS]: remove net/ipv4/ipvs/ip_vs_proto_icmp.c 2005-06-02 13:02:25 -07:00
ip_vs_app.c [IPVS]: Relax the module get/put in ip_vs_app.c 2008-01-28 14:54:35 -08:00
ip_vs_conn.c [IPVS]: Create synced connections with their real state 2008-01-28 14:54:21 -08:00
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 [SK_BUFF]: Introduce ip_hdr(), remove skb->nh.iph 2007-04-25 22:25:10 -07:00
ip_vs_est.c [IPVS]: Switch to using ctl_paths. 2008-01-28 15:01:08 -08:00
ip_vs_ftp.c [NETFILTER]: Replace sk_buff ** with sk_buff * 2007-10-15 12:26:29 -07:00
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ip_vs_nq.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -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_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_rr.c [NET] IPV4: Fix whitespace errors. 2007-02-10 23:19:39 -08:00
ip_vs_sched.c [IPVS]: Switch to using ctl_paths. 2008-01-28 15:01:08 -08:00
ip_vs_sed.c Fix occurrences of "the the " 2007-05-09 08:57:56 +02:00
ip_vs_sh.c [SK_BUFF]: Introduce ip_hdr(), remove skb->nh.iph 2007-04-25 22:25:10 -07:00
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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