Re: [PATCH net-next 2/9] net: bridge: add bitfield for options and convert vlan opts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Nikolay

>  struct net_bridge {
>  	spinlock_t			lock;
>  	spinlock_t			hash_lock;
>  	struct list_head		port_list;
>  	struct net_device		*dev;
>  	struct pcpu_sw_netstats		__percpu *stats;
> +	unsigned long			options;

Maybe a u32 would be better, so we run out of bits at the same time on
32 and 64 bit systems?

   Andrew



[Index of Archives]     [Netdev]     [AoE Tools]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux