Re: [PATCH] net: fix *_DIAG_MAX constants

From: David Miller
Date: Thu Mar 21 2013 - 11:14:46 EST

From: Thomas Graf <tgraf@xxxxxxx>
Date: Thu, 21 Mar 2013 14:42:18 +0000

> On 03/21/13 at 06:18pm, Andrey Vagin wrote:
>> Follow the common pattern and define *_DIAG_MAX like:
>> [...]
>> };
>> Because everyone is used to do:
>> struct nlattr *attrs[XXX_DIAG_MAX+1];
>> nla_parse([...], XXX_DIAG_MAX, [...]
>> Reported-by: Thomas Graf <tgraf@xxxxxxx>
>> Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
>> Cc: Pavel Emelyanov <xemul@xxxxxxxxxxxxx>
>> Cc: Eric Dumazet <edumazet@xxxxxxxxxx>
>> Cc: "Paul E. McKenney" <paulmck@xxxxxxxxxxxxxxxxxx>
>> Cc: David Howells <dhowells@xxxxxxxxxx>
>> Signed-off-by: Andrey Vagin <avagin@xxxxxxxxxx>
> Acked-by: Thomas Graf <tgraf@xxxxxxx>

So you're ACK'ing a patch that makes changes to files that don't even
exist in the repository?

Andrey, post a clean patch against 'net' that fixes these constants
for existing code, don't just assume that your original patch set is
applied and post changes relative to that. That's not how we work.

After the bug fix for the existing cases goes in, you have to repost
your original patch set on top of that.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at