[IPV4]: Convert IPv4 devconf to an array
This patch converts the ipv4_devconf config members (everything except sysctl) to an array. This allows easier manipulation which will be needed later on to provide better management of default config values. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
8d76527e72
commit
42f811b8bc
@@ -672,7 +672,7 @@ static int c2_up(struct net_device *netdev)
|
||||
* rdma interface.
|
||||
*/
|
||||
in_dev = in_dev_get(netdev);
|
||||
in_dev->cnf.arp_ignore = 1;
|
||||
IN_DEV_CONF_SET(in_dev, ARP_IGNORE, 1);
|
||||
in_dev_put(in_dev);
|
||||
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user