[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110527.134204.174469626330626704.davem@davemloft.net>
Date: Fri, 27 May 2011 13:42:04 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: mingo@...e.hu
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 3/3] net: Kill ratelimit.h dependency in linux/net.h
From: Ingo Molnar <mingo@...e.hu>
Date: Fri, 27 May 2011 10:44:03 +0200
>> diff --git a/include/linux/net.h b/include/linux/net.h
>> index 1da55e9..b299230 100644
>> --- a/include/linux/net.h
>> +++ b/include/linux/net.h
>> @@ -289,11 +289,5 @@ extern int kernel_sock_shutdown(struct socket *sock,
>> MODULE_ALIAS("net-pf-" __stringify(pf) "-proto-" __stringify(proto) \
>> "-type-" __stringify(type))
>>
>> -#ifdef CONFIG_SYSCTL
>> -#include <linux/sysctl.h>
>> -#include <linux/ratelimit.h>
>> -extern struct ratelimit_state net_ratelimit_state;
>> -#endif
>> -
>
> Assuming that this moved into net_ratelimit.h with a guard define
> this looks good to me:
>
> Acked-by: Ingo Molnar <mingo@...e.hu>
Yep, thanks for reviewing!
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists