lvs-devel
|
To: | Julian Anastasov <ja@xxxxxx> |
---|---|
Subject: | Re: [PATCH v2 ipvs-next] net: ipvs: sctp: do not recalc sctp csum when ports didn't change |
Cc: | horms@xxxxxxxxxxxx, lvs-devel@xxxxxxxxxxxxxxx, linux-sctp@xxxxxxxxxxxxxxx |
From: | Daniel Borkmann <dborkman@xxxxxxxxxx> |
Date: | Mon, 28 Oct 2013 10:47:25 +0100 |
On 10/28/2013 10:44 AM, Julian Anastasov wrote: [...] Sorry, just now noticed the errors from scripts/checkpatch.pl: ERROR: do not use assignment in if condition #78: FILE: net/netfilter/ipvs/ip_vs_proto_sctp.c:103: + if (!(ret = ip_vs_app_pkt_out(cp, skb))) ERROR: do not use assignment in if condition #120: FILE: net/netfilter/ipvs/ip_vs_proto_sctp.c:149: + if (!(ret = ip_vs_app_pkt_in(cp, skb))) total: 2 errors, 0 warnings, 81 lines checked I know that you copied the TCP logic that was added by me but now we should split the complex conditions at both places: ret = ... if (!ret) return 0; Otherwise patch looks good and I'll ack v3 with the above changes. Ok, sure, I'll update with the cosmetic change. -- 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 |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | Re: [PATCH v2 ipvs-next] net: ipvs: sctp: do not recalc sctp csum when ports didn't change, Julian Anastasov |
---|---|
Next by Date: | [PATCH v3 ipvs-next] net: ipvs: sctp: do not recalc sctp csum when ports didn't change, Daniel Borkmann |
Previous by Thread: | Re: [PATCH v2 ipvs-next] net: ipvs: sctp: do not recalc sctp csum when ports didn't change, Julian Anastasov |
Next by Thread: | [PATCH v3 ipvs-next] net: ipvs: sctp: do not recalc sctp csum when ports didn't change, Daniel Borkmann |
Indexes: | [Date] [Thread] [Top] [All Lists] |