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  linux-hardening  linux-cve-announce  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]
Message-Id: <20090603.030826.03512651.davem@davemloft.net>
Date:	Wed, 03 Jun 2009 03:08:26 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	dbaryshkov@...il.com
Cc:	linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
	linux-wireless@...r.kernel.org, sfr@...b.auug.org.au,
	slapin@...fans.org
Subject: Re: [PATCH 2/6] Add constants for the ieee 802.15.4/ZigBee stack

From: Dmitry Eremin-Solenikov <dbaryshkov@...il.com>
Date: Wed,  3 Jun 2009 13:33:45 +0400

> IEEE 802.15.4/ZigBee stack requires several constants to be defined/adjusted.
> 
> Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@...il.com>
> Signed-off-by: Sergey Lapin <slapin@...fans.org>
> ---
>  include/linux/if.h       |    2 ++
>  include/linux/if_arp.h   |    2 ++
>  include/linux/if_ether.h |    2 ++
>  include/linux/socket.h   |    6 +++++-
>  net/core/dev.c           |    6 ++++--
>  net/core/sock.c          |    3 +++
>  6 files changed, 18 insertions(+), 3 deletions(-)
> 
> diff --git a/include/linux/if.h b/include/linux/if.h
> index 1108f3e..3f574b8 100644
> --- a/include/linux/if.h
> +++ b/include/linux/if.h
> @@ -68,6 +68,8 @@
>  #define IFF_MASTER_ARPMON 0x100		/* bonding master, ARP mon in use */
>  #define IFF_WAN_HDLC	0x200		/* WAN HDLC device		*/
>  
> +#define IFF_IEEE802154_COORD 0x100	/* IEEE802.15.4 PAN coordinator */
> +
>  #define IF_GET_IFACE	0x0001		/* for querying only */
>  #define IF_GET_PROTO	0x0002
>  

This constant isn't used by any of these patches, and it's
value overlaps that of IFF_MASTER_ARPMON  so would need to be
changed anyways.

I didn't check if other things in this patch turn out to
be unused as well, please audit that.
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ