mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[IPV4]: Make struct ipv4_devconf static.
struct ipv4_devconf can now become static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
81a21eb4ec
commit
0027ba8434
2 changed files with 1 additions and 3 deletions
|
@ -17,8 +17,6 @@ struct ipv4_devconf
|
||||||
DECLARE_BITMAP(state, __NET_IPV4_CONF_MAX - 1);
|
DECLARE_BITMAP(state, __NET_IPV4_CONF_MAX - 1);
|
||||||
};
|
};
|
||||||
|
|
||||||
extern struct ipv4_devconf ipv4_devconf;
|
|
||||||
|
|
||||||
struct in_device
|
struct in_device
|
||||||
{
|
{
|
||||||
struct net_device *dev;
|
struct net_device *dev;
|
||||||
|
|
|
@ -64,7 +64,7 @@
|
||||||
#include <net/rtnetlink.h>
|
#include <net/rtnetlink.h>
|
||||||
#include <net/net_namespace.h>
|
#include <net/net_namespace.h>
|
||||||
|
|
||||||
struct ipv4_devconf ipv4_devconf = {
|
static struct ipv4_devconf ipv4_devconf = {
|
||||||
.data = {
|
.data = {
|
||||||
[NET_IPV4_CONF_ACCEPT_REDIRECTS - 1] = 1,
|
[NET_IPV4_CONF_ACCEPT_REDIRECTS - 1] = 1,
|
||||||
[NET_IPV4_CONF_SEND_REDIRECTS - 1] = 1,
|
[NET_IPV4_CONF_SEND_REDIRECTS - 1] = 1,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue