lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 18 May 2014 17:36:33 +0100
From:	Patrick McHardy <kaber@...sh.net>
To:	Vlad Yasevich <vyasevic@...hat.com>
Cc:	netdev@...r.kernel.org, dingtianhong@...wei.com, vfalico@...il.com,
	jiri@...nulli.us
Subject: Re: [PATCH v3 4/4] macvlan: Fix lockdep warnings with stacked
 macvlan devices

On Fri, May 16, 2014 at 05:04:56PM -0400, Vlad Yasevich wrote:
> diff --git a/include/linux/if_macvlan.h b/include/linux/if_macvlan.h
> index 7c8b20b..a9a53b1 100644
> --- a/include/linux/if_macvlan.h
> +++ b/include/linux/if_macvlan.h
> @@ -56,6 +56,7 @@ struct macvlan_dev {
>  	int			numqueues;
>  	netdev_features_t	tap_features;
>  	int			minor;
> +	int			nest_level;
>  };

Please use unsigned int as for 802.1q since this can't be negative.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists