rpms/kernel/devel linux-2.6-net-nip6_fmt.patch, NONE, 1.1 kernel-2.6.spec, 1.1858, 1.1859
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Tue Jan 17 05:58:10 UTC 2006
- Previous message (by thread): rpms/control-center/devel .cvsignore, 1.31, 1.32 control-center.spec, 1.108, 1.109 sources, 1.34, 1.35
- Next message (by thread): rpms/control-center/devel control-center-2.13.5-fedora-apps.patch, NONE, 1.1 control-center.spec, 1.109, 1.110
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: davej
Update of /cvs/dist/rpms/kernel/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv17462
Modified Files:
kernel-2.6.spec
Added Files:
linux-2.6-net-nip6_fmt.patch
Log Message:
Fix named etc.
linux-2.6-net-nip6_fmt.patch:
include/linux/kernel.h | 1 +
net/ipv6/addrconf.c | 2 +-
net/ipv6/anycast.c | 2 +-
net/ipv6/ip6_flowlabel.c | 4 ++--
net/ipv6/mcast.c | 7 +++----
5 files changed, 8 insertions(+), 8 deletions(-)
--- NEW FILE linux-2.6-net-nip6_fmt.patch ---
>From netdev-owner at vger.kernel.org Sat Jan 14 00:11:34 2006
Return-path: <netdev-owner at vger.kernel.org>
Envelope-to: dwmw2 at baythorne.infradead.org
Delivery-date: Sat, 14 Jan 2006 00:11:34 +0000
Received: from [2002:d592:9a28::1] (helo=pentafluge.infradead.org) by
baythorne.infradead.org with esmtps (Exim 4.54 #1 (Red Hat Linux)) id
1ExZ13-00087o-Ub for dwmw2 at baythorne.infradead.org; Sat, 14 Jan 2006
00:11:34 +0000
Received: from vger.kernel.org ([209.132.176.167]) by
pentafluge.infradead.org with esmtp (Exim 4.54 #1 (Red Hat Linux)) id
1ExZ12-0007zM-VL; Sat, 14 Jan 2006 00:11:33 +0000
Received: (majordomo at vger.kernel.org) by vger.kernel.org via listexpand id
S1161574AbWANALb (ORCPT <rfc822;dwmw2 at infradead.org> + 1 other); Fri, 13
Jan 2006 19:11:31 -0500
Received: (majordomo at vger.kernel.org) by vger.kernel.org id
S1161579AbWANALb (ORCPT <rfc822;netdev-outgoing>); Fri, 13 Jan 2006
19:11:31 -0500
Received: from yue.linux-ipv6.org ([203.178.140.15]:21776 "EHLO
yue.st-paulia.net") by vger.kernel.org with ESMTP id S1161574AbWANALa
(ORCPT <rfc822;netdev at vger.kernel.org>); Fri, 13 Jan 2006 19:11:30 -0500
Received: from localhost (localhost [127.0.0.1]) by yue.st-paulia.net
(Postfix) with ESMTP id 4C7F933CC2; Sat, 14 Jan 2006 09:12:21 +0900 (JST)
Date: Sat, 14 Jan 2006 09:12:13 +0900 (JST)
Message-Id: <20060114.091213.64259870.yoshfuji at linux-ipv6.org>
To: davem at davemloft.net
Cc: joe at perches.com, netdev at vger.kernel.org, yoshfuji at linux-ipv6.org
Subject: Re: [PATCH] Use NIP6_FMT in kernel.h
From: YOSHIFUJI Hideaki / =?iso-2022-jp?B?GyRCNUhGIzFRTEAbKEI=?= <yoshfuji at linux-ipv6.org>
In-Reply-To: <20060113.142924.50915981.davem at davemloft.net>
References: <1137190488.13017.34.camel at localhost>
<20060113.142924.50915981.davem at davemloft.net>
Organization: USAGI/WIDE Project
X-URL: http://www.yoshifuji.org/%7Ehideaki/
X-Fingerprint: 9022 65EB 1ECF 3AD1 0BDF 80D8 4807 F894 E062 0EEA
X-PGP-Key-URL: http://www.yoshifuji.org/%7Ehideaki/hideaki@yoshifuji.org.asc
X-Face:
"5$Al-.M>NJ%a'@hhZdQm:."qn~PA^gq4o*>iCFToq*bAi#4FRtx}enhuQKz7fNqQz\BYU]
$~O_5m-9'}MIs`XGwIEscw;e5b>n"B_?j/AkL~i/MEa<!5P`&C$@oP>ZBLP
X-Mailer: Mew version 2.2 on Emacs 20.7 / Mule 4.1 (AOI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Sender: netdev-owner at vger.kernel.org
Precedence: bulk
X-Mailing-List: netdev at vger.kernel.org
X-Evolution-Source: imap://dwmw2@pentafluge.infradead.org/
Content-Transfer-Encoding: 8bit
In article <20060113.142924.50915981.davem at davemloft.net> (at Fri, 13 Jan 2006 14:29:24 -0800 (PST)), "David S. Miller" <davem at davemloft.net> says:
> > changes all code to use NIP6_FMT
> > fixes net/ipv6/ip6_flowlabel.c
:
> This looks good, applied, thanks Joe.
As I have commented in another mail, the original patch breaks
applications such as ifconfig, radvd etc.
Please apply this.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji at linux-ipv6.org>
diff -u b/include/linux/kernel.h b/include/linux/kernel.h
--- b/include/linux/kernel.h
+++ b/include/linux/kernel.h
@@ -228,6 +228,7 @@
ntohs((addr).s6_addr16[6]), \
ntohs((addr).s6_addr16[7])
#define NIP6_FMT "%04x:%04x:%04x:%04x:%04x:%04x:%04x:%04x"
+#define NIP6_SEQFMT "%04x%04x%04x%04x%04x%04x%04x%04x"
#if defined(__LITTLE_ENDIAN)
#define HIPQUAD(addr) \
diff -u b/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
--- b/net/ipv6/addrconf.c
+++ b/net/ipv6/addrconf.c
@@ -2643,7 +2643,7 @@
{
struct inet6_ifaddr *ifp = (struct inet6_ifaddr *)v;
seq_printf(seq,
- NIP6_FMT " %02x %02x %02x %02x %8s\n",
+ NIP6_SEQFMT " %02x %02x %02x %02x %8s\n",
NIP6(ifp->addr),
ifp->idev->dev->ifindex,
ifp->prefix_len,
diff -u b/net/ipv6/anycast.c b/net/ipv6/anycast.c
--- b/net/ipv6/anycast.c
+++ b/net/ipv6/anycast.c
@@ -531,7 +531,7 @@
struct ac6_iter_state *state = ac6_seq_private(seq);
seq_printf(seq,
- "%-4d %-15s " NIP6_FMT " %5d\n",
+ "%-4d %-15s " NIP6_SEQFMT " %5d\n",
state->dev->ifindex, state->dev->name,
NIP6(im->aca_addr),
im->aca_users);
diff -u b/net/ipv6/ip6_flowlabel.c b/net/ipv6/ip6_flowlabel.c
--- b/net/ipv6/ip6_flowlabel.c
+++ b/net/ipv6/ip6_flowlabel.c
@@ -628,7 +628,7 @@
{
while(fl) {
seq_printf(seq,
- "%05X %-1d %-6d %-6d %-6ld %-8ld " NIP6_FMT " %-4d\n",
+ "%05X %-1d %-6d %-6d %-6ld %-8ld " NIP6_SEQFMT " %-4d\n",
(unsigned)ntohl(fl->label),
fl->share,
(unsigned)fl->owner,
@@ -644,7 +644,7 @@
static int ip6fl_seq_show(struct seq_file *seq, void *v)
{
if (v == SEQ_START_TOKEN)
- seq_printf(seq, "%-5s %-1s %-6s %-6s %-6s %-8s %-39s %s\n",
+ seq_printf(seq, "%-5s %-1s %-6s %-6s %-6s %-8s %-32s %s\n",
"Label", "S", "Owner", "Users", "Linger", "Expires", "Dst", "Opt");
else
ip6fl_fl_seq_show(seq, v);
diff -u b/net/ipv6/mcast.c b/net/ipv6/mcast.c
--- b/net/ipv6/mcast.c
+++ b/net/ipv6/mcast.c
@@ -2374,7 +2374,7 @@
struct igmp6_mc_iter_state *state = igmp6_mc_seq_private(seq);
seq_printf(seq,
- "%-4d %-15s " NIP6_FMT " %5d %08X %ld\n",
+ "%-4d %-15s " NIP6_SEQFMT " %5d %08X %ld\n",
state->dev->ifindex, state->dev->name,
NIP6(im->mca_addr),
im->mca_users, im->mca_flags,
@@ -2543,12 +2543,12 @@
if (v == SEQ_START_TOKEN) {
seq_printf(seq,
"%3s %6s "
- "%39s %39s %6s %6s\n", "Idx",
+ "%32s %32s %6s %6s\n", "Idx",
"Device", "Multicast Address",
"Source Address", "INC", "EXC");
} else {
seq_printf(seq,
- "%3d %6.6s " NIP6_FMT " " NIP6_FMT " %6lu %6lu\n",
+ "%3d %6.6s " NIP6_SEQFMT " " NIP6_SEQFMT " %6lu %6lu\n",
state->dev->ifindex, state->dev->name,
NIP6(state->im->mca_addr),
NIP6(psf->sf_addr),
--
YOSHIFUJI Hideaki @ USAGI Project <yoshfuji at linux-ipv6.org>
GPG-FP : 9022 65EB 1ECF 3AD1 0BDF 80D8 4807 F894 E062 0EEA
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Index: kernel-2.6.spec
===================================================================
RCS file: /cvs/dist/rpms/kernel/devel/kernel-2.6.spec,v
retrieving revision 1.1858
retrieving revision 1.1859
diff -u -r1.1858 -r1.1859
--- kernel-2.6.spec 17 Jan 2006 00:58:29 -0000 1.1858
+++ kernel-2.6.spec 17 Jan 2006 05:58:08 -0000 1.1859
@@ -349,6 +349,7 @@
Patch1830: linux-2.6-w1-hush-debug.patch
Patch1840: linux-2.6-x86-hp-reboot.patch
Patch1850: linux-2.6-mv643xx-compile-fix.patch
+Patch1860: linux-2.6-net-nip6_fmt.patch
# Warn about usage of various obsolete functionality that may go away.
Patch1900: linux-2.6-obsolete-idescsi-warning.patch
@@ -825,6 +826,8 @@
%patch1840 -p1
# Fix compilation for MV643xx Ethernet
%patch1850 -p1
+# Revert changes that broke named, ifconfig, radvd etc
+%patch1860 -p1
# Warn about obsolete functionality usage.
%patch1900 -p1
%patch1901 -p1
@@ -1348,6 +1351,9 @@
%endif
%changelog
+* Tue Jan 17 2006 Dave Jones <davej at redhat.com>
+- Revert changes that broke named, ifconfig, radvd etc
+
* Mon Jan 16 2006 Dave Jones <davej at redhat.com>
- 2.6.15-git12
- Previous message (by thread): rpms/control-center/devel .cvsignore, 1.31, 1.32 control-center.spec, 1.108, 1.109 sources, 1.34, 1.35
- Next message (by thread): rpms/control-center/devel control-center-2.13.5-fedora-apps.patch, NONE, 1.1 control-center.spec, 1.109, 1.110
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-cvs-commits
mailing list