Re: [PATCH 3/3] net: Kill ratelimit.h dependency in linux/net.h
From: Joe Perches <joe@perches.com>
Date: 2011-05-26 21:24:06
From: Joe Perches <joe@perches.com>
Date: 2011-05-26 21:24:06
On Thu, 2011-05-26 at 16:43 -0400, David Miller wrote:
Ingo Molnar noticed that we have this unnecessary ratelimit.h dependency in linux/net.h, which hid compilation problems from people doing builds only with CONFIG_NET enabled. Move this stuff out to a seperate net/net_ratelimit.h file and include that in the only two places where this thing is needed.
git add net/net_ratelimit.h?
Signed-off-by: David S. Miller <davem@davemloft.net> --- include/linux/net.h | 6 ------ net/core/sysctl_net_core.c | 1 + net/core/utils.c | 1 +