static struct ip_vs_conn *
ah_esp_conn_in_get(int af, const struct sk_buff *skb, struct ip_vs_protocol
*pp,
- const struct ip_vs_iphdr *iph, unsigned int proto_off,
- int inverse)
+ const struct ip_vs_iphdr *iph, unsigned int proto_off,
+ int inverse)
{
struct ip_vs_conn *cp;
@@ -79,9 +79,9 @@ ah_esp_conn_in_get(int af, const struct sk_buff *skb, struct
ip_vs_protocol *pp,
static struct ip_vs_conn *
ah_esp_conn_out_get(int af, const struct sk_buff *skb,
struct ip_vs_protocol *pp,
- const struct ip_vs_iphdr *iph,
+ const struct ip_vs_iphdr *iph,
unsigned int proto_off,
- int inverse)
+ int inverse)
{
struct ip_vs_conn *cp;
diff --git a/net/ipv4/ipvs/ip_vs_proto_udp.c b/net/ipv4/ipvs/ip_vs_proto_udp.c
index 9278c0d..16b20c8 100644
--- a/net/ipv4/ipvs/ip_vs_proto_udp.c
+++ b/net/ipv4/ipvs/ip_vs_proto_udp.c
@@ -92,8 +92,9 @@ udp_conn_schedule(int af, struct sk_buff *skb, struct
ip_vs_protocol *pp,
return 0;
}
- if ((svc = ip_vs_service_get(af, skb->mark, iph.protocol, &iph.daddr,
- uh->dest))) {
+ svc = ip_vs_service_get(af, skb->mark, iph.protocol,
+ &iph.daddr, uh->dest);
+ if (svc) {
if (ip_vs_todrop()) {
/*
* It seems that we are very loaded.
--
To unsubscribe from this list: send the line "unsubscribe lvs-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
|