Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 252282
b: refs/heads/master
c: c5c177b
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed May 27, 2011
1 parent 9b6526e commit dec8563
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bee95250f015ffc3a6efb99516489e70d1b52da2
refs/heads/master: c5c177b4aca83338781e72be2e6dd1601c560cb3
6 changes: 0 additions & 6 deletions trunk/include/linux/net.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

#endif /* __KERNEL__ */
#endif /* _LINUX_NET_H */
8 changes: 8 additions & 0 deletions trunk/include/net/net_ratelimit.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#ifndef _LINUX_NET_RATELIMIT_H
#define _LINUX_NET_RATELIMIT_H

#include <linux/ratelimit.h>

extern struct ratelimit_state net_ratelimit_state;

#endif /* _LINUX_NET_RATELIMIT_H */
1 change: 1 addition & 0 deletions trunk/net/core/sysctl_net_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

#include <net/ip.h>
#include <net/sock.h>
#include <net/net_ratelimit.h>

#ifdef CONFIG_RPS
static int rps_sock_flow_sysctl(ctl_table *table, int write,
Expand Down
1 change: 1 addition & 0 deletions trunk/net/core/utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include <linux/ratelimit.h>

#include <net/sock.h>
#include <net/net_ratelimit.h>

#include <asm/byteorder.h>
#include <asm/system.h>
Expand Down

0 comments on commit dec8563

Please sign in to comment.