diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2009-11-17 10:42:49 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-18 05:03:25 -0800 |
commit | f99189b186f3922ede4fa33c02f6edc735b8c981 (patch) | |
tree | e216447fc284d6ec98ac1550638ac3a79d71e084 /drivers/net/bonding | |
parent | 615534bc490606685621d63a40c0670d0f049d86 (diff) | |
download | linux-3.10-f99189b186f3922ede4fa33c02f6edc735b8c981.tar.gz linux-3.10-f99189b186f3922ede4fa33c02f6edc735b8c981.tar.bz2 linux-3.10-f99189b186f3922ede4fa33c02f6edc735b8c981.zip |
netns: net_identifiers should be read_mostly
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding')
-rw-r--r-- | drivers/net/bonding/bond_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c index ecea6c29413..726bd755338 100644 --- a/drivers/net/bonding/bond_main.c +++ b/drivers/net/bonding/bond_main.c @@ -158,7 +158,7 @@ MODULE_PARM_DESC(fail_over_mac, "For active-backup, do not set all slaves to the static const char * const version = DRV_DESCRIPTION ": v" DRV_VERSION " (" DRV_RELDATE ")\n"; -int bond_net_id; +int bond_net_id __read_mostly; static __be32 arp_target[BOND_MAX_ARP_TARGETS]; static int arp_ip_count; |