* Linux 2.4.26-pre1
@ 2004-02-25 19:09 Marcelo Tosatti
2004-02-26 0:06 ` [patch] 2.4.26-pre1 - drivers/net/r8169.c Francois Romieu
2004-02-26 21:27 ` 2.4.26-pre1: SCTP compile error Adrian Bunk
0 siblings, 2 replies; 7+ messages in thread
From: Marcelo Tosatti @ 2004-02-25 19:09 UTC (permalink / raw)
To: linux-kernel
Hi,
Here goes -pre1.
It contains a big SCTP merge (to match 2.6 API), networking updates,
network driver updates (including the addition of nVidia Force driver).
Also includes ACPI upstream merge, amongst others.
Enjoy
Summary of changes from v2.4.25 to v2.4.26-pre1
============================================
<amir.noam:intel.com>:
o bonding cleanup 2.4 - Re-org struct bonding members
o bonding cleanup 2.4 - Consolidate conditions & statements
o bonding cleanup 2.4 - Consolidate error handling in all xmit functions
o bonding cleanup 2.4 - Whitespace cleanup
o bonding cleanup 2.4 - empty lines cleanup
o bonding cleanup 2.4 - fix indentations
o bonding cleanup 2.4 - Code re-org
o bonding cleanup 2.4 - Fix rejects from previous patches
o [netdrvr bonding] Cannot remove and re-enslave the original active slave
o [netdrvr bonding] Releasing the original active slave causes mac address duplication
o [netdrvr bonding] Add support for slaves that use ethtool_ops
o [netdrvr bonding] fix build breakage
o [bonding 2.4] Fix compilation warning in bond_alb.c
o [bonding 2.4] Use the per-bond value of the bond_mode parameter
o [bonding 2.4] Save parameters in a per-bond data structure
o [bonding 2.4] Use the per-bond values of all remaining parameters
<bengen:hilluzination.de>:
o HiSax I-Talk/I-Surf doesn't work together with kernel isapnp
<buffer:antifork.org>:
o [TCP]: Add Westwood+ support, off by default
<c-d.hailfinger.kernel.2004:gmx.net>:
o [2.4] forcedeth network driver
<davem:nuts.davemloft.net>:
o [TCP]: Put tcp_ prefix on global westwood symbols
o [TCP]: Coding style fixes to westwood code
o [TCP]: Kill westwood specific lock, unneeded
o [TCP]: Kill bogus reference to CONFIG_TCP_WESTWOOD
o [IPV4]: Pass new forwarding setting to inet_forward_change()
o [TG3]: Two more PHY bug workaround, plus fix DMA test on big-endian
o [TG3]: Fix early chip programming in tg3_setup_copper_phy()
o [TG3]: Bump driver version and reldate
o [IPVS]: Use '%Z' for size_t types
o [IPV6]: Fix data type range warning in ndisc.c
o [TIGON3]: Comment out card RAM validation in tg3_test_dma() for now
o [TIGON3]: Bump version and reldate
<giuseppe.furlan:systeam.it>:
o Add Hitachi 9960 storage to SCSI dev list as SPARSELUN|LARGELUN
<grundler:parisc-linux.org>:
o [TG3]: Reset GRC, if necessary, before DMA test
o [TG3]: Abstract out mailbox workarounds into tw32_{rx,tw}_mbox()
o [TG3]: Define MBOX_WRITE_REORDER flag to zero on non-x86
<ja:ssi.bg>:
o [IPV4]: Add configurable restriction of local IP announcements in ARP requests
o [IPV4]: Add sophistacated ARP reply control via arp_ignore sysctl
<jhf:rivenstone.net>:
o [netdrvr sis900] fix multicast
<ken:miriam.com>:
o [TIGON3]: Add Apple tigon3 PCI device id
<khali:linux-fr.org>:
o Incorrect SCx200 dependency
<leachbj:bouncycastle.org>:
o hfsplus alignment fix
<len.brown:intel.com>:
o [ACPI] CONFIG_ACPI_NUMA depends on CONFIG_IA64
o [ACPI] revert previous AML param patch for ACPICA update
o [ACPI] ACPICA 20040211 udpate from Bob Moore
<marcelo:logos.cnet>:
o Update i386 defconfig
o Changed EXTRAVERSION to -pre1
<mporter:kernel.crashing.org>:
o 2.4 ibm_emac driver fixes
<phil.el:wanadoo.fr>:
o export smp_num_siblings cpu_sibling_map
<tigran:veritas.com>:
o microcode: fix devfs breakage caused by last updated
<wang:ai.mit.edu>:
o [wireless] add atmel driver
<wensong:linux-vs.org>:
o [IPVS]: Remove the superfluous call of waitpid in sync code
o [IPVS]: Fix to retry to fork kernel_thread when memory is temporarily exhausted
o [IPVS] tidy up the header files to include
Adrian Bunk:
o fix two IDE warnings
o typo: HOSTCCFLAGS instead of HOSTCFLAGS in lib/Makefile
Bartlomiej Zolnierkiewicz:
o kill recreate_proc_ide_device(),
Ben Collins:
o IEEE1394/Video1394(r1152): Init d->link list head so failurs are handled properly
o IEEE1394(r1153): Use vmalloc to allocate sglist array for larger cases
Benjamin Herrenschmidt:
o [SUNGEM]: Be careful about memory ordering
David Dillow:
o Support the new 3CR990B cards that require authentication of the runtime firmware image.
Geert Uytterhoeven:
o Amifb modedb bug
Jeff Garzik:
o [wireless airo] backport 2.6.x cleanups/minor fixes
o [wireless airo] fix build breakage
o [netdrvr sk98lin 1/2] Remove CVS substitution keywords/spam
o [netdrvr sk98lin 2/2] Remove CVS substitution keywords/spam
Keith Owens:
o Remove generated files
Manfred Spraul:
o shrink address space reserved for kmap
Marcel Holtmann:
o Fix for I4L over CAPI and CMTP
Matt Domsch:
o fix lib/crc32.c copyright notice
Scott Feldman:
o e1000 stable sync with 2.6
Shmulik Hen:
o bonding cleanup 2.4 - Simplify ifenslave
o bonding cleanup 2.4 - Consolidate prints
o bonding cleanup 2.4 - death of typedefs
o bonding cleanup 2.4 - remove dead code
o bonding cleanup 2.4 - Consolidate timer handling
o bonding cleanup 2.4 - Fix handling of bond->primary
o bonding cleanup 2.4 - Remove multicast_mode module param
o bonding cleanup 2.4 - Fix slave list iteration
o bonding cleanup 2.4 - Consolidate function declarations
o bonding cleanup 2.4 - consolidate param names of function params and variables
o bonding cleanup 2.4 - consolidate return values of functions
o [netdrvr bonding] trivial - Update comment blocks and version field
o [IPV4]: Split arp_send into arp_create and arp_xmit
o [VLAN]: Export VLAN tag get/set functionality
o [VLAN]: Use VLAN tag set functionality in 8021q module
Sridhar Samudrala:
o [SCTP] Sync with 2.6.2 SCTP
o [SCTP] Use __get_free_pages() to allocate ssnmap
o [SCTP] Fix SCTP_INITMSG set socket option so that a parameter with 0 value will not change its current value.
o [SCTP] Fix sctp_getladdrs()/sctp_getpaddrs() API so that the port value in the returned addresses is in network byte order.
o [SCTP] Revert back to use kmalloc() for ssnmap allocs of sizes < 128K
o Cset exclude: sri@us.ibm.com|ChangeSet|20040216054112|09098
o Cset include: sri@us.ibm.com|ChangeSet|20040216054112|09098 Cset include: sri@us.ibm.com|ChangeSet|20040213195328|09088 Cset include: sri@us.ibm.com|ChangeSet|20040213011231|09074 Cset include: sri@us.ibm.com|ChangeSet|20040213005510|09081 Cset include: sri@us.ibm.com|ChangeSet|20040213003759|09793
o [SCTP] Fix syntax errors in net/sctp Config.in
Stelian Pop:
o Fix meye compilation when HIGHMEM64G is set
Willy Tarreau:
o fix ACPI poweroff
^ permalink raw reply [flat|nested] 7+ messages in thread
* [patch] 2.4.26-pre1 - drivers/net/r8169.c
2004-02-25 19:09 Linux 2.4.26-pre1 Marcelo Tosatti
@ 2004-02-26 0:06 ` Francois Romieu
2004-02-26 6:19 ` Jeff Garzik
2004-02-26 21:27 ` 2.4.26-pre1: SCTP compile error Adrian Bunk
1 sibling, 1 reply; 7+ messages in thread
From: Francois Romieu @ 2004-02-26 0:06 UTC (permalink / raw)
To: Marcelo Tosatti; +Cc: linux-kernel, jgarzik
[-- Attachment #1: Type: text/plain, Size: 407 bytes --]
Marcelo Tosatti <marcelo.tosatti@cyclades.com> :
[...]
> Here goes -pre1.
Please apply attached patch.
Without patch, bogus descriptors are parsed as soon as
tp->cur_tx%NUM_TX_DESC + (tp->cur_tx - tp->dirty_tx) > NUM_TX_DESC
(assume for instance tp->dirty_tx = NUM_TX_DESC/2,
tp->cur_tx = NUM_TX_DESC - 1 and watch entry go beyond NUM_TX_DESC).
Missing stats update is fixed by the patch btw.
--
Ueimor
[-- Attachment #2: r8169-tx-desc-overflow.patch --]
[-- Type: text/plain, Size: 955 bytes --]
--- drivers/net/r8169.c.orig 2004-02-25 23:34:15.000000000 +0100
+++ drivers/net/r8169.c 2004-02-25 23:47:26.000000000 +0100
@@ -874,7 +874,6 @@ rtl8169_tx_interrupt(struct net_device *
void *ioaddr)
{
unsigned long dirty_tx, tx_left = 0;
- int entry = tp->cur_tx % NUM_TX_DESC;
assert(dev != NULL);
assert(tp != NULL);
@@ -884,14 +883,18 @@ rtl8169_tx_interrupt(struct net_device *
tx_left = tp->cur_tx - dirty_tx;
while (tx_left > 0) {
+ int entry = dirty_tx % NUM_TX_DESC;
+
if ((tp->TxDescArray[entry].status & OWNbit) == 0) {
- dev_kfree_skb_irq(tp->
- Tx_skbuff[dirty_tx % NUM_TX_DESC]);
- tp->Tx_skbuff[dirty_tx % NUM_TX_DESC] = NULL;
+ struct sk_buff *skb = tp->Tx_skbuff[entry];
+
+ tp->stats.tx_bytes += skb->len >= ETH_ZLEN ?
+ skb->len : ETH_ZLEN;
tp->stats.tx_packets++;
+ dev_kfree_skb_irq(skb);
+ tp->Tx_skbuff[entry] = NULL;
dirty_tx++;
tx_left--;
- entry++;
}
}
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [patch] 2.4.26-pre1 - drivers/net/r8169.c
2004-02-26 0:06 ` [patch] 2.4.26-pre1 - drivers/net/r8169.c Francois Romieu
@ 2004-02-26 6:19 ` Jeff Garzik
0 siblings, 0 replies; 7+ messages in thread
From: Jeff Garzik @ 2004-02-26 6:19 UTC (permalink / raw)
To: Francois Romieu; +Cc: Marcelo Tosatti, linux-kernel
applied to 2.4 and 2.6
^ permalink raw reply [flat|nested] 7+ messages in thread
* 2.4.26-pre1: SCTP compile error
2004-02-25 19:09 Linux 2.4.26-pre1 Marcelo Tosatti
2004-02-26 0:06 ` [patch] 2.4.26-pre1 - drivers/net/r8169.c Francois Romieu
@ 2004-02-26 21:27 ` Adrian Bunk
2004-02-26 23:53 ` Sridhar Samudrala
1 sibling, 1 reply; 7+ messages in thread
From: Adrian Bunk @ 2004-02-26 21:27 UTC (permalink / raw)
To: Marcelo Tosatti, netdev; +Cc: linux-kernel
On Wed, Feb 25, 2004 at 04:09:20PM -0300, Marcelo Tosatti wrote:
>...
> It contains a big SCTP merge (to match 2.6 API), networking updates,
>...
I got the compile error forwarded below using gcc 2.95.3 .
cu
Adrian
...
gcc-2.95 -D__KERNEL__ -I/home/bunk/linux/kernel-2.4/linux-2.4.26-pre1-full/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4 -nostdinc -iwithprefix include -DKBUILD_BASENAME=ipv6 -c -o ipv6.o ipv6.c
In file included from ipv6.c:77:
/home/bunk/linux/kernel-2.4/linux-2.4.26-pre1-full/include/net/sctp/sctp.h:119: warning: `MSECS_TO_JIFFIES' redefined
/home/bunk/linux/kernel-2.4/linux-2.4.26-pre1-full/include/net/irda/irda.h:89: warning: this is the location of the previous definition
ipv6.c: In function `sctp_v6_xmit':
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c:189: request for member `in6_u' in something not a structure or union
ipv6.c: In function `sctp_v6_get_dst':
ipv6.c:213: request for member `in6_u' in something not a structure or union
ipv6.c:213: request for member `in6_u' in something not a structure or union
ipv6.c:213: request for member `in6_u' in something not a structure or union
ipv6.c:213: request for member `in6_u' in something not a structure or union
ipv6.c:213: request for member `in6_u' in something not a structure or union
ipv6.c:213: request for member `in6_u' in something not a structure or union
ipv6.c:213: request for member `in6_u' in something not a structure or union
ipv6.c:213: request for member `in6_u' in something not a structure or union
ipv6.c:213: request for member `in6_u' in something not a structure or union
ipv6.c:213: request for member `in6_u' in something not a structure or union
ipv6.c:213: request for member `in6_u' in something not a structure or union
ipv6.c:213: request for member `in6_u' in something not a structure or union
ipv6.c:213: request for member `in6_u' in something not a structure or union
ipv6.c:213: request for member `in6_u' in something not a structure or union
ipv6.c:213: request for member `in6_u' in something not a structure or union
ipv6.c:213: request for member `in6_u' in something not a structure or union
ipv6.c:213: request for member `in6_u' in something not a structure or union
ipv6.c:213: request for member `in6_u' in something not a structure or union
ipv6.c:213: request for member `in6_u' in something not a structure or union
ipv6.c:213: request for member `in6_u' in something not a structure or union
ipv6.c:213: request for member `in6_u' in something not a structure or union
ipv6.c:213: request for member `in6_u' in something not a structure or union
ipv6.c:213: request for member `in6_u' in something not a structure or union
ipv6.c:213: request for member `in6_u' in something not a structure or union
ipv6.c:219: request for member `in6_u' in something not a structure or union
ipv6.c:219: request for member `in6_u' in something not a structure or union
ipv6.c:219: request for member `in6_u' in something not a structure or union
ipv6.c:219: request for member `in6_u' in something not a structure or union
ipv6.c:219: request for member `in6_u' in something not a structure or union
ipv6.c:219: request for member `in6_u' in something not a structure or union
ipv6.c:219: request for member `in6_u' in something not a structure or union
ipv6.c:219: request for member `in6_u' in something not a structure or union
ipv6.c:219: request for member `in6_u' in something not a structure or union
ipv6.c:219: request for member `in6_u' in something not a structure or union
ipv6.c:219: request for member `in6_u' in something not a structure or union
ipv6.c:219: request for member `in6_u' in something not a structure or union
ipv6.c:219: request for member `in6_u' in something not a structure or union
ipv6.c:219: request for member `in6_u' in something not a structure or union
ipv6.c:219: request for member `in6_u' in something not a structure or union
ipv6.c:219: request for member `in6_u' in something not a structure or union
ipv6.c:219: request for member `in6_u' in something not a structure or union
ipv6.c:219: request for member `in6_u' in something not a structure or union
ipv6.c:219: request for member `in6_u' in something not a structure or union
ipv6.c:219: request for member `in6_u' in something not a structure or union
ipv6.c:219: request for member `in6_u' in something not a structure or union
ipv6.c:219: request for member `in6_u' in something not a structure or union
ipv6.c:219: request for member `in6_u' in something not a structure or union
ipv6.c:219: request for member `in6_u' in something not a structure or union
make[3]: *** [ipv6.o] Error 1
make[3]: Leaving directory `/home/bunk/linux/kernel-2.4/linux-2.4.26-pre1-full/net/sctp'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/home/bunk/linux/kernel-2.4/linux-2.4.26-pre1-full/net/sctp'
make[1]: *** [_subdir_sctp] Error 2
make[1]: Leaving directory `/home/bunk/linux/kernel-2.4/linux-2.4.26-pre1-full/net'
make: *** [_dir_net] Error 2
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.4.26-pre1: SCTP compile error
2004-02-26 21:27 ` 2.4.26-pre1: SCTP compile error Adrian Bunk
@ 2004-02-26 23:53 ` Sridhar Samudrala
2004-02-27 1:41 ` Sridhar Samudrala
2004-02-27 6:49 ` David S. Miller
0 siblings, 2 replies; 7+ messages in thread
From: Sridhar Samudrala @ 2004-02-26 23:53 UTC (permalink / raw)
To: Adrian Bunk; +Cc: Marcelo Tosatti, netdev, linux-kernel
On Thu, 26 Feb 2004, Adrian Bunk wrote:
> On Wed, Feb 25, 2004 at 04:09:20PM -0300, Marcelo Tosatti wrote:
> >...
> > It contains a big SCTP merge (to match 2.6 API), networking updates,
> >...
>
> I got the compile error forwarded below using gcc 2.95.3 .
>
> cu
> Adrian
>
>
>
> ...
> gcc-2.95 -D__KERNEL__ -I/home/bunk/linux/kernel-2.4/linux-2.4.26-pre1-full/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4 -nostdinc -iwithprefix include -DKBUILD_BASENAME=ipv6 -c -o ipv6.o ipv6.c
> In file included from ipv6.c:77:
> /home/bunk/linux/kernel-2.4/linux-2.4.26-pre1-full/include/net/sctp/sctp.h:119: warning: `MSECS_TO_JIFFIES' redefined
> /home/bunk/linux/kernel-2.4/linux-2.4.26-pre1-full/include/net/irda/irda.h:89: warning: this is the location of the previous definition
I missed this warning as i don't have irda enabled in my config.
A simple fix would be to rename the macro in sctp.h to
SCTP_MSECS_TO_JIFFIES.
> ipv6.c: In function `sctp_v6_xmit':
> ipv6.c:189: request for member `in6_u' in something not a structure or union
> ipv6.c:189: request for member `in6_u' in something not a structure or union
I am not seeing these errors with either gcc3.2.2 or gcc2.96. But, looking at the
code, this definitely seems to be a problem. Not sure why the newer versions of
gcc didn't catch them.
looks like while backporting from 2.6, i missed the fact that in 2.4, fl6_src,
fl6_dst in struct flowi are pointers to struct in6_addr.
I will work on a patch to fix these issues shortly.
Thanks
Sridhar
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.4.26-pre1: SCTP compile error
2004-02-26 23:53 ` Sridhar Samudrala
@ 2004-02-27 1:41 ` Sridhar Samudrala
2004-02-27 6:49 ` David S. Miller
1 sibling, 0 replies; 7+ messages in thread
From: Sridhar Samudrala @ 2004-02-27 1:41 UTC (permalink / raw)
To: Sridhar Samudrala; +Cc: Adrian Bunk, Marcelo Tosatti, netdev, linux-kernel
On Thu, 26 Feb 2004, Sridhar Samudrala wrote:
> On Thu, 26 Feb 2004, Adrian Bunk wrote:
>
> > On Wed, Feb 25, 2004 at 04:09:20PM -0300, Marcelo Tosatti wrote:
> > >...
> > > It contains a big SCTP merge (to match 2.6 API), networking updates,
> > >...
> >
> > I got the compile error forwarded below using gcc 2.95.3 .
> >
> > cu
> > Adrian
> >
> >
> >
> > ...
> > gcc-2.95 -D__KERNEL__ -I/home/bunk/linux/kernel-2.4/linux-2.4.26-pre1-full/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4 -nostdinc -iwithprefix include -DKBUILD_BASENAME=ipv6 -c -o ipv6.o ipv6.c
> > In file included from ipv6.c:77:
> > /home/bunk/linux/kernel-2.4/linux-2.4.26-pre1-full/include/net/sctp/sctp.h:119: warning: `MSECS_TO_JIFFIES' redefined
> > /home/bunk/linux/kernel-2.4/linux-2.4.26-pre1-full/include/net/irda/irda.h:89: warning: this is the location of the previous definition
>
> I missed this warning as i don't have irda enabled in my config.
> A simple fix would be to rename the macro in sctp.h to
> SCTP_MSECS_TO_JIFFIES.
>
> > ipv6.c: In function `sctp_v6_xmit':
> > ipv6.c:189: request for member `in6_u' in something not a structure or union
> > ipv6.c:189: request for member `in6_u' in something not a structure or union
>
> I am not seeing these errors with either gcc3.2.2 or gcc2.96. But, looking at the
> code, this definitely seems to be a problem. Not sure why the newer versions of
> gcc didn't catch them.
It is my mistake. I don't have CONFIG_SCTP_DBG_MSG enabled and so these lines are
compiled out and hence i am not seeing these errors.
Thanks
Sridhar
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.4.26-pre1: SCTP compile error
2004-02-26 23:53 ` Sridhar Samudrala
2004-02-27 1:41 ` Sridhar Samudrala
@ 2004-02-27 6:49 ` David S. Miller
1 sibling, 0 replies; 7+ messages in thread
From: David S. Miller @ 2004-02-27 6:49 UTC (permalink / raw)
To: Sridhar Samudrala; +Cc: bunk, marcelo.tosatti, netdev, linux-kernel
On Thu, 26 Feb 2004 15:53:58 -0800 (PST)
Sridhar Samudrala <sri@us.ibm.com> wrote:
> I missed this warning as i don't have irda enabled in my config.
> A simple fix would be to rename the macro in sctp.h to
> SCTP_MSECS_TO_JIFFIES.
I've fixed this in my tree.
> > ipv6.c: In function `sctp_v6_xmit':
> > ipv6.c:189: request for member `in6_u' in something not a structure or union
> > ipv6.c:189: request for member `in6_u' in something not a structure or union
>
> I am not seeing these errors with either gcc3.2.2 or gcc2.96. But, looking at the
> code, this definitely seems to be a problem. Not sure why the newer versions of
> gcc didn't catch them.
It's trying to use NIP6() on an object that is not a struct in6_addr.
I'll just comment this thing out for now.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-02-27 6:51 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-25 19:09 Linux 2.4.26-pre1 Marcelo Tosatti
2004-02-26 0:06 ` [patch] 2.4.26-pre1 - drivers/net/r8169.c Francois Romieu
2004-02-26 6:19 ` Jeff Garzik
2004-02-26 21:27 ` 2.4.26-pre1: SCTP compile error Adrian Bunk
2004-02-26 23:53 ` Sridhar Samudrala
2004-02-27 1:41 ` Sridhar Samudrala
2004-02-27 6:49 ` David S. Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox