RFC: tipc: remove inlines from *.c

2006-01-19 Thread Sam Ravnborg
With reference to latest discussions on linux-kernel with respect to inline here is a patch for tipc to remove all inlines as used in the .c files. See also chapter 14 in Documentation/CodingStyle. Before: textdata bss dec hex filename 10299052921752 110034 1add2 ti

Re: ip_finish_output2: No header cache and no neighbour! in 2.6.15-git7

2006-01-19 Thread David S. Miller
From: Andi Kleen <[EMAIL PROTECTED]> Date: Fri, 20 Jan 2006 08:15:39 +0100 > On Tuesday 17 January 2006 10:42, Patrick McHardy wrote: > > > You're absolutely right. Using ip_route_output for local outgoing > > packets in POST_ROUTING should fix this problem. > > > > Andi, can you please try this

Re: ip_finish_output2: No header cache and no neighbour! in 2.6.15-git7

2006-01-19 Thread Andi Kleen
On Tuesday 17 January 2006 10:42, Patrick McHardy wrote: > You're absolutely right. Using ip_route_output for local outgoing > packets in POST_ROUTING should fix this problem. > > Andi, can you please try this patch? Sorry for the delay in testing. Looks good so far. I'm running with SNAT and th

Re: [PATCH 13/13] ieee80211: Add TKIP crypt->build_iv

2006-01-19 Thread Zhu Yi
On Thu, 2006-01-19 at 13:51 +0100, Johannes Berg wrote: > On Thu, 2006-01-19 at 16:22 +0800, Zhu Yi wrote: > > > This patch adds ieee80211 TKIP build_iv() method to support hardwares that > > can do TKIP encryption but relies on ieee80211 layer to build the IV. It > > also > > changes the build_i

Re: [PATCH 0/13] ieee80211 updated patches

2006-01-19 Thread Zhu Yi
On Thu, 2006-01-19 at 23:34 -0500, John W. Linville wrote: > > [PATCH 6/13] ieee80211: Add 802.11h data type and structures > > [PATCH 7/13] ieee80211: Add ieee80211_network_reset() To support IEEE 802.11h in IBSS, an ibss_dfs field is added to struct ieee80211_network. In IBSS, if one STA sends a

pull request for wireless-2.6.git

2006-01-19 Thread John W. Linville
The following changes since commit 0f36b018b2e314d45af86449f1a97facb1fbe300: Linus Torvalds: Merge master.kernel.org:/.../sfrench/cifs-2.6 are found in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.git upstream-jgarzik Denis Vlasenko:

Re: [PATCH 0/13] ieee80211 updated patches

2006-01-19 Thread John W. Linville
On Thu, Jan 19, 2006 at 04:20:26PM +0800, Zhu Yi wrote: > [PATCH 1/13] ieee80211: Fix problem with not decrypting broadcast packets > [PATCH 2/13] ieee80211: Log to wireless network stats if netif_rx() drops the > packet > [PATCH 3/13] ieee80211: Fix iwlist scan can only show about 20 APs > [PATC

Re: SRTT value least count

2006-01-19 Thread Stephen Hemminger
On Thu, 19 Jan 2006 17:58:13 -0600 Saurabh Jain <[EMAIL PROTECTED]> wrote: > Hi All, > > After going through the TCP code in linux kernel it seems that TCP in > linux stores srtt in milliseconds and it is inflated by a factor of 8. It is clock ticks scaled by 8. The clock ticks are dependent on

[PATCH] Put SKF_* definitions inside '#ifdef __KERNEL__' in linux/filter.h

2006-01-19 Thread Kris Katterjohn
This wraps '#ifdef __KERNEL__' around the definitions for SKF_* in linux/filter.h Signed-off-by: Kris Katterjohn <[EMAIL PROTECTED]> Thanks. --- x/include/linux/filter.h2006-01-18 15:16:02.0 -0600 +++ y/include/linux/filter.h2006-01-19 20:44:06.0 -0600 @@ -126,6 +126,7 @

Re: [2.6 patch] net/: fix the WIRELESS_EXT abuse

2006-01-19 Thread John W. Linville
On Mon, Dec 05, 2005 at 06:48:15PM -0800, Jean Tourrilhes wrote: > On Mon, Dec 05, 2005 at 03:51:36PM -0800, jt wrote: > > Adrian Bunk wrote : > > > > > > Using WIRELESS_EXT instead of CONFIG_NET_RADIO is simply ugly. > > > > You are probably right that something need to be done about > > it,

[PATCH 9/9] bnx2: Update version and copyright year

2006-01-19 Thread Michael Chan
Update version to 1.4.31 and add 2006 copyright. Skip the last digit when reporting the firmware version. Signed-off-by: Michael Chan <[EMAIL PROTECTED]> diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c index 9f71cca..a24200d 100644 --- a/drivers/net/bnx2.c +++ b/drivers/net/bnx2.c @@ -1,6

[PATCH 8/9] bnx2: Add PHY loopback test

2006-01-19 Thread Michael Chan
Enhance the ethtool loopback test with PHY loopback test. Signed-off-by: Michael Chan <[EMAIL PROTECTED]> diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c index 7be011f..9f71cca 100644 --- a/drivers/net/bnx2.c +++ b/drivers/net/bnx2.c @@ -1331,6 +1331,38 @@ bnx2_set_mac_loopback(struct bnx2

[PATCH 2/9] bnx2: Improve handshake with firmware

2006-01-19 Thread Michael Chan
Improve handshake with bootcode with the following changes: 1. Increase timeout to 100msec and use msleep instead of udelay. 2. Add more error checking for timeouts and errors. Signed-off-by: Michael Chan <[EMAIL PROTECTED]> diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c index 790dc92..

[PATCH 3/9] bnx2: Misc. fixes

2006-01-19 Thread Michael Chan
Some misc. fixes for WoL, 5708 B1, and a typo '=' instead of '=='. Signed-off-by: Michael Chan <[EMAIL PROTECTED]> diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c index 3486324..60ff9b6 100644 --- a/drivers/net/bnx2.c +++ b/drivers/net/bnx2.c @@ -1171,7 +1171,8 @@ bnx2_init_5708s_phy(struct

[PATCH 7/9] bnx2: Use netdev_priv()

2006-01-19 Thread Michael Chan
Replace dev->priv with netdev_priv(dev) Signed-off-by: Michael Chan <[EMAIL PROTECTED]> diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c index 4f613b0..7be011f 100644 --- a/drivers/net/bnx2.c +++ b/drivers/net/bnx2.c @@ -1799,7 +1799,7 @@ static irqreturn_t bnx2_msi(int irq, void *dev_insta

[PATCH 5/9] bnx2: Workaround hw interrupt bug

2006-01-19 Thread Michael Chan
Add workaround for a hardware interrupt issue. When using INTA, unmasking of the interrupt and the tag update should be done separately to avoid some spurious interrupts, Signed-off-by: Michael Chan <[EMAIL PROTECTED]> diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c index ec08f83..7b99cf2 1

[PATCH 6/9] bnx2: Fix nvram sizing

2006-01-19 Thread Michael Chan
Add code to correctly determine nvram size. Signed-off-by: Michael Chan <[EMAIL PROTECTED]> diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c index 7b99cf2..4f613b0 100644 --- a/drivers/net/bnx2.c +++ b/drivers/net/bnx2.c @@ -2724,9 +2724,16 @@ bnx2_init_nvram(struct bnx2 *bp) if (j =

[PATCH 1/9] bnx2: Fix VLAN on ASF

2006-01-19 Thread Michael Chan
Always set up the device to strip incoming VLAN tags when ASF is enabled. ASF firmware will not parse packets correctly if VLAN tags are not stripped. Signed-off-by: Michael Chan <[EMAIL PROTECTED]> diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c index 49fa1e4..790dc92 100644 --- a/drivers/

Re: [Bugme-new] [Bug 5927] New: TG3 driver unable to get memory resource

2006-01-19 Thread Michael Chan
On Thu, 2006-01-19 at 17:22 -0800, Andrew Morton wrote: > [EMAIL PROTECTED] wrote: > > > > http://bugzilla.kernel.org/show_bug.cgi?id=5927 > > > >Summary: TG3 driver unable to get memory resource > > Kernel Version: 2.6.15.1 > > Status: NEW > > Severity: norma

Re: [Bugme-new] [Bug 5927] New: TG3 driver unable to get memory resource

2006-01-19 Thread Andrew Morton
[EMAIL PROTECTED] wrote: > > http://bugzilla.kernel.org/show_bug.cgi?id=5927 > >Summary: TG3 driver unable to get memory resource > Kernel Version: 2.6.15.1 > Status: NEW > Severity: normal > Owner: [EMAIL PROTECTED] > Submitter: [EMAIL P

Re: Fw: [Bugme-new] [Bug 5627] New: Network boot - IP-Config reports wrong DHCP server address

2006-01-19 Thread Maxime Bizon
On Thu, 2006-01-19 at 02:14 -0800, Andrew Morton wrote: > i.e. the kernel obtains all the network parameters correctly from > 192.168.10.1, but reports that the DHCP response has been received > from 192.168.10.10 In his case, ipconfig code prints the server address found in the bootp header (th

Re: how to obtain detailed e1000 stats?

2006-01-19 Thread Ben Greear
Roberto Nibali wrote: So once your patches would go in, we would actually need to address tcpdump and ethereal so they fall back to setting SAVE_FCS as soon as RX_ALL is set? Not really..if someone wants this feature enabled, just use ethtool to set the RX-ALL and/or SAVE_FCS. There's no rea

SRTT in TCP code of linux kernel

2006-01-19 Thread Saurabh Jain
Hi All, After going through the TCP code in linux kernel it seems that TCP in linux stores srtt in milliseconds and it is inflated by a factor of 8. Does this means that TCP in linux can measure any rtt which is greater than 125 microseconds? The code will store a value of 1 for srtt variable when

SRTT value least count

2006-01-19 Thread Saurabh Jain
Hi All, After going through the TCP code in linux kernel it seems that TCP in linux stores srtt in milliseconds and it is inflated by a factor of 8. Does this means that TCP in linux can measure any rtt which is greater than 125 microseconds? The code will store a value of 1 for srtt variable when

[PATCH] convert rtnl to a mutex

2006-01-19 Thread Stephen Hemminger
This patch turns the RTNL from a semaphore to a new 2.6.16 mutex and gets rid of some of the leftover legacy. Only lightly tested, so please hold off till 2.6.17 Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> drivers/net/8139too.c |2 +- include/linux/rtnetlink.h | 20 +++---

[PATCH] fix MLDv2 change records when transitioning to/from inactive

2006-01-19 Thread David Stevens
The following patch fixes these problems in MLDv2: 1) Add/remove "delete" records for sending change reports when addition of a filter results in that filter transitioning to/from inactive. [same as recent IPv4 IGMPv3 fix] 2) Remove 2 redundant "group_type" checks (can't be IPV6_AD

tipc: fix simple sparse warnings

2006-01-19 Thread Sam Ravnborg
Tried to run the new tipc stack through sparse. Following patch fixes all cases where 0 was used as replacement of NULL. Use NULL to document this is a pointer and to silence sparse. This brough sparse warning count down with 127 to 24 warnings. Signed-off-by: Sam Ravnborg <[EMAIL PROTECTED]> ---

Re: [2.6 patch] schedule SHAPER for removal

2006-01-19 Thread Benjamin LaHaise
On Thu, Jan 19, 2006 at 03:11:50AM +0100, Adrian Bunk wrote: > +What: Traffic Shaper (CONFIG_SHAPER) > +When: July 2006 > +Why:obsoleted by the code in net/sched/ > +Who:Adrian Bunk <[EMAIL PROTECTED] This length of obsolete cycles is way too short -- it's not even enough time for a s

Re: State of the Union: Wireless / 802.11 master device

2006-01-19 Thread Mike Kershaw
On Thu, Jan 19, 2006 at 04:30:34PM +0100, feyd wrote: > The point of the master not being netdev is to separate the two > functions it serves - configuration and master interface, as combining > them makes sense only for softmac devices. > The single queue that all the packets have to pass and can

Re: [PATCH 7/13] ieee80211: Add ieee80211_network_reset()

2006-01-19 Thread John W. Linville
On Thu, Jan 19, 2006 at 04:21:35PM +0800, Zhu Yi wrote: > > ieee80211: add ieee80211_network_reset() > > Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> Could we get a better description for this? Also, you might describe what you are doing to ieee80211_networks_free? Thanks, John -- John W. Linvi

Re: Fw: [Bugme-new] [Bug 5627] New: Network boot - IP-Config reports wrong DHCP server address

2006-01-19 Thread Chris Wedgwood
On Thu, Jan 19, 2006 at 08:38:47AM -0800, Bryan O'Sullivan wrote: > Yes. The code in the klibc tree has been sort of ready for that for > oh, about two years now. Thus far I'm very happy with it. I never originally intended to use klibc but I couldn't get the in-kernel DHCP code to work reliabl

Re: [2.6 patch] schedule SHAPER for removal

2006-01-19 Thread Jan Engelhardt
>Subject: [2.6 patch] schedule SHAPER for removal Replaced by what; the QoS subsystem? > config SHAPER >- tristate "Traffic Shaper (EXPERIMENTAL)" >+ tristate "Traffic Shaper (OBSOLETE)" > depends on EXPERIMENTAL Jan Engelhardt -- | Alphagate Systems, http://alphagate.hopto.o

Re: [Patch 1/1] TCP/UDP getpeersec

2006-01-19 Thread James Morris
On Thu, 19 Jan 2006, cxzhang wrote: > This patch implements an application of the LSM-IPSec networking > controls whereby an application can determine the label of the > security association its TCP or UDP sockets are currently connected to > via getsockopt and the auxiliary data mechanism of recv

Re: State of the Union: Wireless / 802.11 master device

2006-01-19 Thread John W. Linville
On Thu, Jan 19, 2006 at 08:03:43PM +0100, Stefan Rompf wrote: > Am Donnerstag 19 Januar 2006 16:56 schrieb John W. Linville: > > > The above represents my thinking on the issue. Ultimately the WiPHY > > (aka radio) device should be thought of as a new class of driver, > > distinct from a netdev.

Re: State of the Union: Wireless / 802.11 master device

2006-01-19 Thread John W. Linville
On Thu, Jan 19, 2006 at 08:03:43PM +0100, Stefan Rompf wrote: > Am Donnerstag 19 Januar 2006 16:56 schrieb John W. Linville: > > > The above represents my thinking on the issue. Ultimately the WiPHY > > (aka radio) device should be thought of as a new class of driver, > > distinct from a netdev.

[Patch 1/1] TCP/UDP getpeersec

2006-01-19 Thread cxzhang
From: [EMAIL PROTECTED] This patch implements an application of the LSM-IPSec networking controls whereby an application can determine the label of the security association its TCP or UDP sockets are currently connected to via getsockopt and the auxiliary data mechanism of recvmsg. Patch purpos

Re: State of the Union: Wireless / 802.11 master device

2006-01-19 Thread John W. Linville
On Thu, Jan 19, 2006 at 05:44:53PM +0100, Jiri Benc wrote: > On Thu, 19 Jan 2006 10:56:19 -0500, John W. Linville wrote: > > The above represents my thinking on the issue. Ultimately the WiPHY > > (aka radio) device should be thought of as a new class of driver, > > distinct from a netdev. If we

Re: State of the Union: Wireless / 802.11 master device

2006-01-19 Thread Stefan Rompf
Am Donnerstag 19 Januar 2006 16:56 schrieb John W. Linville: > The above represents my thinking on the issue. Ultimately the WiPHY > (aka radio) device should be thought of as a new class of driver, > distinct from a netdev. If we have to reroute some infrastructure > (i.e. qdisc) to make that p

[PATCH 2.6.16-rc1] s2io: scatter-gather fix

2006-01-19 Thread Ananda Raju
Hi, There is a problem with fragmented skb in s2io driver version 2.0.9.4 available in 2.6.16-rc1 kernel. The adapter will fail to transmit if any scatter-gather skb arrives. This patch provides fix for the above described problem. Please review the patch. Sign

netlink.7

2006-01-19 Thread Hasso Tepper
After seeing yet another project which had pointers in the code comments to the false statements in the netlink.7 man page, I decided to spend some time on improving man page. Comments and improvements are welcome especially regarding TODO's, XXX's and FIME's in the page. -- Hasso Tepper n

modprobe -r dummy on UP sends messages in wrong order

2006-01-19 Thread Paul Jakma
Hi, Something strange with the netlink messages which are sent if 'modprobe -r dummy' is run while the dummy device is UP. The following commands: # modprobe dummy0 # ip li set dev dummy0 up # modprobe -r dummy0 # modprobe dummy0 # ip li set dev dummy0 up # modprobe -r dummy0 Produce: ZEBRA

Re: My vote against eepro* removal

2006-01-19 Thread John Ronciak
During the watchdog the e100 driver reads all of the status registers from the actual hardware. There are 26 (worst case) register reads. There is also a spin lock for another check in the watchdog. It would still surprise me that all of this would take 500 usec. If you are seeing this delay, y

Re: help with e1000 issue?

2006-01-19 Thread Christopher Friesen
Jesse Brandeburg wrote: On 1/18/06, Christopher Friesen <[EMAIL PROTECTED]> wrote: So, somehow we're getting into a state where we can't receive packets, and we're never getting out of that state. Are you sure that you're able to transmit and you aren't just handing it to the hardware and i

Re: State of the Union: Wireless / 802.11 master device

2006-01-19 Thread Jiri Benc
On Thu, 19 Jan 2006 10:56:19 -0500, John W. Linville wrote: > The above represents my thinking on the issue. Ultimately the WiPHY > (aka radio) device should be thought of as a new class of driver, > distinct from a netdev. If we have to reroute some infrastructure > (i.e. qdisc) to make that pra

Re: Fw: [Bugme-new] [Bug 5627] New: Network boot - IP-Config reports wrong DHCP server address

2006-01-19 Thread Bryan O'Sullivan
On Thu, 2006-01-19 at 02:33 -0800, Chris Wedgwood wrote: > if/we klibc is merged we could pull this code out surely? Yes. The code in the klibc tree has been sort of ready for that for oh, about two years now. What it's lacking is a lot of testing, and it will continue to lack it until we make

Re: My vote against eepro* removal

2006-01-19 Thread Adrian Bunk
On Thu, Jan 19, 2006 at 11:26:51AM +0100, kus Kusche Klaus wrote: > > From: Lee Revell > > On Thu, 2006-01-19 at 08:19 +0100, kus Kusche Klaus wrote: > > > Last time I tested (around 2.6.12), eepro100 worked much better > > > in -rt kernels w.r.t. latencies than e100: > > > > > > e100 caused a pe

Re: State of the Union: Wireless / 802.11 master device

2006-01-19 Thread John W. Linville
On Thu, Jan 19, 2006 at 04:30:34PM +0100, feyd wrote: > The design that is rather agreed on proposes a master device that is > not netdev, is used for configuration of the shared resources (radio) > and for virtual devices creation, where the virtual devices cannot > switch mode. The above repres

Re: help with e1000 issue?

2006-01-19 Thread Christopher Friesen
Jesse Brandeburg wrote: On 1/18/06, Christopher Friesen <[EMAIL PROTECTED]> wrote: just so you've got all the latest bug fixes can you try the driver from http://prdownloads.sf.net/e1000/e1000-6.3.9.tar.gz I'll try that. So, somehow we're getting into a state where we can't receive packets

Re: State of the Union: Wireless / 802.11 master device

2006-01-19 Thread feyd
Jouni Malinen wrote: > This may be the case with designs that do not provide anything else > than a simple interface for delivering and receiving frames. However, > the benefits--and I would be prepared to say even requirements--of > having a master device are extensive enough to use it with many w

Re: [Bcm43xx-dev] wireless: the contenders

2006-01-19 Thread John W. Linville
On Thu, Jan 19, 2006 at 01:19:40AM +0100, Johannes Berg wrote: > On Wed, 2006-01-18 at 15:06 -0500, John W. Linville wrote: > > > The tree also has "softmac" and "dscape" branches. The "softmac" > > branch includes the Johannes Berg softmac code as well as the the > > BCM43xx driver based upon th

2.6.15.1, a telnet connection and "iwconfig eth1 power on" woes

2006-01-19 Thread Holger Schurig
I have an embedded device with some Artem Wireless LAN card. For this car I'm using the out-of-tree wl_lkm_718_release.tar.gz driver. I'm using the TN5250 protocol (a telnet derivative), and log on to the AS/400. I get the login screen, and enter my Username and Password. When I now press ENTER

Re: [PATCH 13/13] ieee80211: Add TKIP crypt->build_iv

2006-01-19 Thread Johannes Berg
On Thu, 2006-01-19 at 16:22 +0800, Zhu Yi wrote: > This patch adds ieee80211 TKIP build_iv() method to support hardwares that > can do TKIP encryption but relies on ieee80211 layer to build the IV. It also > changes the build_iv() interface to return the key if possible after the IV > is built (th

Re: [Patch 09/13] mv643xx_eth: Hold spinlocks only where needed

2006-01-19 Thread Olaf Hering
On Wed, Jan 18, Dale Farnsworth wrote: > On Wed, Jan 18, 2006 at 04:26:00PM +0100, Olaf Hering wrote: > > I havent checked if this patch is the culprit, but 2.6.16-rc1-git1 does > > lockup after modprobe -v mv643xx_eth , dhcpcd eth2. > > Have to find a serial console for the pegasos, all I get on

Re: [Bcm43xx-dev] wireless: the contenders

2006-01-19 Thread Johannes Berg
On Wed, 2006-01-18 at 15:06 -0500, John W. Linville wrote: > The tree also has "softmac" and "dscape" branches. The "softmac" > branch includes the Johannes Berg softmac code as well as the the > BCM43xx driver based upon that code. I guess that branch also contains my enhancements to ieee80211,

Re: IRDA maintainer status

2006-01-19 Thread Arnaldo Carvalho de Melo
On 1/18/06, David S. Miller <[EMAIL PROTECTED]> wrote: > From: Jean Tourrilhes <[EMAIL PROTECTED]> > Date: Wed, 18 Jan 2006 14:24:24 -0800 > > > They are mostly using BlueTooth nowadays :-( > > This is not strictly the case, especially in Asia. > > Most of the current LG and Samsung phones ou

Re: Fw: [Bugme-new] [Bug 5695] New: pppd hangs after disconnect on tty_set_ldisc when sch_htb used

2006-01-19 Thread Patrick McHardy
Andrew Morton wrote: > > Begin forwarded message: > > Date: Fri, 2 Dec 2005 13:53:04 -0800 > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: [Bugme-new] [Bug 5695] New: pppd hangs after disconnect on > tty_set_ldisc when sch_htb used > > Software Environment: > SMP linux kernel + li

Fw: [Bugme-new] [Bug 5695] New: pppd hangs after disconnect on tty_set_ldisc when sch_htb used

2006-01-19 Thread Andrew Morton
Begin forwarded message: Date: Fri, 2 Dec 2005 13:53:04 -0800 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Bugme-new] [Bug 5695] New: pppd hangs after disconnect on tty_set_ldisc when sch_htb used http://bugzilla.kernel.org/show_bug.cgi?id=5695 Summary: pppd hangs after

Re: Fw: [Bugme-new] [Bug 5627] New: Network boot - IP-Config reports wrong DHCP server address

2006-01-19 Thread Chris Wedgwood
On Thu, Jan 19, 2006 at 02:14:31AM -0800, Andrew Morton wrote: >Summary: Network boot - IP-Config reports wrong DHCP server > address > Kernel Version: 2.6.14.2 if/we klibc is merged we could pull this code out surely? i had problems myself getting it working

Fw: [Bugme-new] [Bug 5627] New: Network boot - IP-Config reports wrong DHCP server address

2006-01-19 Thread Andrew Morton
Begin forwarded message: Date: Fri, 18 Nov 2005 10:42:33 -0800 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Bugme-new] [Bug 5627] New: Network boot - IP-Config reports wrong DHCP server address http://bugzilla.kernel.org/show_bug.cgi?id=5627 Summary: Network boot - IP-C

Re: TIPC needs some cleanup

2006-01-19 Thread Per Liden
Hi Stephen, On Tue, 17 Jan 2006, Stephen Hemminger wrote: [...] > Also, let's work with the current code. It is a lot easier to let others > clean it up, if the changes are against the mainline (or -mm) rather than > having to send it off to get put into yet another git repo. To make sure we wor

Re: how to obtain detailed e1000 stats?

2006-01-19 Thread Roberto Nibali
I'd love to see them in the kernel..I have cooresponding patches for e100 and e1000 to support these features as well. However, the e1000 maintainers were not interested last I checked... I reckon we have new e1000 maintainers :). Is a 2.6.x version ready? Yep, it's not a big change..and the

Re: how to obtain detailed e1000 stats?

2006-01-19 Thread Roberto Nibali
- use iproute2 and see how one dumps netdevice stats - Continue by looking at iproute2/ip/ files iplink.c and ipaddress.c and note that: stats are stored in a TLV IFLA_STATS and are printed in print_linkinfo() The code is not much to study if you are serious about performance. Thomas Graf as wel

[PATCH 8/13] ieee80211: add flags for all geo channels

2006-01-19 Thread Zhu Yi
ieee80211: add flags for all geo channels Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --- net/ieee80211/ieee80211_geo.c | 39 ++- 1 file changed, 38 insertions(+), 1 deletion(-) --- diff --git a/net/ieee80211/ieee80211_geo.c b/net/ieee80211/ieee80211_geo.c ind

[PATCH 10/13] ieee80211: kmalloc+memset -> kzalloc cleanups in ieee80211_crypt_tkip

2006-01-19 Thread Zhu Yi
ieee80211: kmalloc+memset -> kzalloc cleanups in ieee80211_crypt_tkip Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --- net/ieee80211/ieee80211_crypt_tkip.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- diff --git a/net/ieee80211/ieee80211_crypt_tkip.c b/net/ieee80211/ieee80211_cry

[PATCH 9/13] ieee80211: Add spectrum management information

2006-01-19 Thread Zhu Yi
ieee80211: Add spectrum management information and use stat.signal to provide signal level information. Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --- net/ieee80211/ieee80211_wx.c | 31 +-- 1 file changed, 29 insertions(+), 2 deletions(-) --- diff --git a/

[PATCH 11/13] ieee80211: Added 802.11h information element parsing and some cleanup

2006-01-19 Thread Zhu Yi
ieee80211: Added 802.11h information element parsing and some cleanup Added default handlers for various 802.11h DFS and TPC information elements. Moved all information elements into single location (called from two places) Added debug message with information on unparsed IEs if debug_level set.

[PATCH 12/13] ieee80211: Added partial support of TIM information element parsing

2006-01-19 Thread Zhu Yi
ieee80211: Added partial support of TIM information element parsing Signed-off-by: James Ketrenos <[EMAIL PROTECTED]> Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --- net/ieee80211/ieee80211_rx.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) --- diff --git a/net/ieee80211/ieee80211_r

[PATCH 13/13] ieee80211: Add TKIP crypt->build_iv

2006-01-19 Thread Zhu Yi
ieee80211: Add TKIP crypt->build_iv This patch adds ieee80211 TKIP build_iv() method to support hardwares that can do TKIP encryption but relies on ieee80211 layer to build the IV. It also changes the build_iv() interface to return the key if possible after the IV is built (this is required by TK

[PATCH 7/13] ieee80211: Add ieee80211_network_reset()

2006-01-19 Thread Zhu Yi
ieee80211: add ieee80211_network_reset() Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --- net/ieee80211/ieee80211_module.c | 18 ++ 1 file changed, 18 insertions(+) --- diff --git a/net/ieee80211/ieee80211_module.c b/net/ieee80211/ieee80211_module.c index 321287b..34f7170 100644 -

[PATCH 6/13] ieee80211: Add 802.11h data type and structures

2006-01-19 Thread Zhu Yi
ieee80211: Add 802.11h data type and structures. Signed-off-by: Hong Liu <[EMAIL PROTECTED]> Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --- include/net/ieee80211.h | 168 ++- net/ieee80211/ieee80211_rx.c |2 2 files changed, 166 insertions(+), 4

[PATCH 5/13] ieee80211: Fix A band min and max channel definitions

2006-01-19 Thread Zhu Yi
ieee80211: Fix A band min and max channel definitions. Signed-off-by: Hong Liu <[EMAIL PROTECTED]> Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --- include/net/ieee80211.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- diff --git a/include/net/ieee80211.h b/include/net/ieee80211.h

[PATCH 4/13] ieee80211: Add LEAP authentication type

2006-01-19 Thread Zhu Yi
ieee80211: Add LEAP authentication type Signed-off-by: Hong Liu <[EMAIL PROTECTED]> Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --- include/net/ieee80211.h |1 + 1 file changed, 1 insertion(+) --- diff --git a/include/net/ieee80211.h b/include/net/ieee80211.h index cde2f4f..32804a0 100644 ---

[PATCH 1/13] ieee80211: Fix problem with not decrypting broadcast packets

2006-01-19 Thread Zhu Yi
ieee80211: Fix problem with not decrypting broadcast packets. The code for pulling the key to use for decrypt was correctly using the host_mc_decrypt flag. The code that actually decrypted, however, was based on host_decrypt. This patch changes this behavior. Signed-off-by: Etay Bogner <[EMAIL

[PATCH 2/13] ieee80211: Log to wireless network stats if netif_rx() drops the packet

2006-01-19 Thread Zhu Yi
ieee80211: Log to wireless network stats if netif_rx() drops the packet (also trailing whitespace and Lindent cleanups as part of patch-apply process) Signed-off-by: James Ketrenos <[EMAIL PROTECTED]> Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --- net/ieee80211/ieee80211_crypt.c | 11 +

[PATCH 3/13] ieee80211: Fix iwlist scan can only show about 20 APs

2006-01-19 Thread Zhu Yi
ieee80211: Fix iwlist scan can only show about 20 APs. Signed-off-by: Hong Liu <[EMAIL PROTECTED]> Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --- net/ieee80211/ieee80211_wx.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) --- diff --git a/net/ieee80211/ieee80211_wx.c b/net/

[PATCH 0/13] ieee80211 updated patches

2006-01-19 Thread Zhu Yi
Hi, Here is a series of patches for ieee80211 subsystem. Patches include: [PATCH 1/13] ieee80211: Fix problem with not decrypting broadcast packets [PATCH 2/13] ieee80211: Log to wireless network stats if netif_rx() drops the packet [PATCH 3/13] ieee80211: Fix iwlist scan can only show about 20