[Clfs-commits] [CLFS Trac] #145: Linux 2.6.24.3

CLFS Trac trac at cross-lfs.org
Fri Feb 29 21:59:09 PST 2008


#145: Linux 2.6.24.3
-----------------------+----------------------------------------------------
  Reporter:  jciccone  |       Owner:  clfs-commits at lists.cross-lfs.org.
      Type:  task      |      Status:  new                              
  Priority:  major     |   Milestone:                                   
 Component:  BOOK      |     Version:                                   
Resolution:            |    Keywords:                                   
-----------------------+----------------------------------------------------
Comment (by kb0iic):

 Replying to [ticket:145 jciccone]:
 > New Release
 I built my latest svn with linux-2.6.24.3.  Linux-2.6.24.3 included
 if_addrlabel.h into the headers target but forgot the header itself. Look
 at this for more info:

 http://lkml.org/lkml/2008/2/25/529

 Here is the patch:

 diff --git a/include/linux/if_addrlabel.h b/include/linux/if_addrlabel.h
 new file mode 100644
 index 0000000..9fe79c9
 --- /dev/null
 +++ b/include/linux/if_addrlabel.h
 @@ -0,0 +1,32 @@
 +/*
 + * if_addrlabel.h - netlink interface for address labels
 + *
 + * Copyright (C)2007 USAGI/WIDE Project,  All Rights Reserved.
 + *
 + * Authors:
 + *   YOSHIFUJI Hideaki @ USAGI/WIDE <yoshfuji at linux-ipv6.org>
 + */
 +
 +#ifndef __LINUX_IF_ADDRLABEL_H
 +#define __LINUX_IF_ADDRLABEL_H
 +
 +struct ifaddrlblmsg
 +{
 +   __u8      ifal_family;      /* Address family */
 +   __u8      __ifal_reserved;   /* Reserved */
 +   __u8      ifal_prefixlen;      /* Prefix length */
 +   __u8      ifal_flags;      /* Flags */
 +   __u32      ifal_index;      /* Link index */
 +   __u32      ifal_seq;      /* sequence number */
 +};
 +
 +enum
 +{
 +   IFAL_ADDRESS = 1,
 +   IFAL_LABEL = 2,
 +   __IFAL_MAX
 +};
 +
 +#define IFAL_MAX   (__IFAL_MAX - 1)
 +
 +#endif

 If one uses the headers, checking the headers will error cause the header
 is not included. Mistake by kernel devs.

-- 
Ticket URL: <http://trac.cross-lfs.org/ticket/145#comment:1>
CLFS Trac <http://trac.cross-lfs.org>
The Cross Linux From Scratch Project.


More information about the Clfs-commits mailing list