Message ID | 1416816819-17310-1-git-send-email-subramanian.vijay@gmail.com |
---|---|
State | Changes Requested, archived |
Delegated to: | David Miller |
Headers | show |
From: Vijay Subramanian <subramanian.vijay@gmail.com> Date: Mon, 24 Nov 2014 00:13:39 -0800 > While setting option for dst_addr_stride, flags should be set for > FLAG_DST_ITERATE not FLAG_SRC_ITERATE. > > Signed-off-by: Vijay Subramanian <subramanian.vijay@gmail.com> This does not apply to the 'net' tree. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
>> Signed-off-by: Vijay Subramanian <subramanian.vijay@gmail.com> > > This does not apply to the 'net' tree. David, The patch was targeted not against 'net' tree but against test suite at https://git.kernel.org/pub/scm/linux/kernel/git/davem/net_test_tools.git as indicated in subject. Would you like me to resubmit this making it clear in commit log too? -vijay -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
From: Vijay Subramanian <subramanian.vijay@gmail.com> Date: Mon, 24 Nov 2014 17:18:27 -0800 > The patch was targeted not against 'net' tree but against test suite > at https://git.kernel.org/pub/scm/linux/kernel/git/davem/net_test_tools.git > as indicated in subject. Would you like me to resubmit this making it > clear in commit log too? Sorry, my bad. I'll re-look at your patch, sorry :) -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/route_bench.c b/route_bench.c index eb91dcf..22cbd2a 100644 --- a/route_bench.c +++ b/route_bench.c @@ -292,7 +292,7 @@ int main(int argc, char **argv, char **envp) break; case 'e': sscanf(optarg, "%u", &s->dst_addr_stride); - s->flags |= FLAG_SRC_ITERATE; + s->flags |= FLAG_DST_ITERATE; break; case 'f': s->dst_addr_limit = inet_addr(optarg);
While setting option for dst_addr_stride, flags should be set for FLAG_DST_ITERATE not FLAG_SRC_ITERATE. Signed-off-by: Vijay Subramanian <subramanian.vijay@gmail.com> --- route_bench.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)