[RFC] Allow LSM to use IP address/port number. (was Re: [PATCH 1/1] Add post accept()/recvmsg() hooks.)

2007-07-09 Thread Tetsuo Handa
Hello. This thread is from http://marc.info/?t=11834645705r=1w=2 . I want to use tcp_wrapper-like filtering using LSM. But it seems that there are cases (recvmsg() and read()?) where __sock_recvmsg() is called with msg-name == NULL and msg-msg_namelen == 0 that makes what I want to do

[no subject]

2007-07-09 Thread Patrizio Bassi
Hi after some email exchange with Stephen Hemminger i decide to forward the question to netdev ml. I'm using vmware 6 and bridged networking with interface eth1 (sky2 driver). The brigde works only when eth1 has the physical connection enabled (another pc plugged in), so i always need to have

Re: [RFC 2/2] shrink size of scatterlist on common i386/x86-64

2007-07-09 Thread David Miller
From: Muli Ben-Yehuda [EMAIL PROTECTED] Date: Sun, 8 Jul 2007 19:17:30 +0300 On Fri, Jul 06, 2007 at 12:20:19PM -0700, David Miller wrote: From: Williams, Mitch A [EMAIL PROTECTED] Date: Fri, 6 Jul 2007 10:14:56 -0700 In my opinion, IOMMU table locking is the major issue with this

Re: [RFC] Allow LSM to use IP address/port number.

2007-07-09 Thread David Miller
From: Tetsuo Handa [EMAIL PROTECTED] Date: Mon, 09 Jul 2007 14:33:01 +0900 @@ -649,8 +660,16 @@ int sock_recvmsg(struct socket *sock, st init_sync_kiocb(iocb, NULL); iocb.private = siocb; ret = __sock_recvmsg(iocb, sock, msg, size, flags); - if (-EIOCBQUEUED == ret) +

Re: + gen_estimator-fix-locking-and-timer-related-bugs.patch added to -mm tree

2007-07-09 Thread Jarek Poplawski
On Sat, Jul 07, 2007 at 05:10:54PM +0200, Patrick McHardy wrote: On Sat, 7 Jul 2007, Ranko Zivojnovic wrote: On Fri, 2007-07-06 at 16:21 +0200, Patrick McHardy wrote: There is at least one ABBA deadlock, est_timer does: read_lock(est_lock) spin_lock(e-stats_lock) (which is dev-queue_lock)

Re: + gen_estimator-fix-locking-and-timer-related-bugs.patch added to -mm tree

2007-07-09 Thread Jarek Poplawski
On Fri, Jul 06, 2007 at 04:16:18PM +0300, Ranko Zivojnovic wrote: On Fri, 2007-07-06 at 14:47 +0200, Jarek Poplawski wrote: On Fri, Jul 06, 2007 at 08:45:23AM +0200, Jarek Poplawski wrote: On Fri, Jul 06, 2007 at 09:08:43AM +0300, Ranko Zivojnovic wrote: ... In order to get that

Re: [RFC 2/2] shrink size of scatterlist on common i386/x86-64

2007-07-09 Thread Muli Ben-Yehuda
On Mon, Jul 09, 2007 at 12:06:40AM -0700, David Miller wrote: That works, but isn't optimal when you have an isolation-capable IOMMU and you want the full isolation properties of the IOMMU. If you only flush the IOTLB when the allocator wraps around, a stale entry in the IOTLB can allow a

[PATCH] spidernet: improve interrupt handling

2007-07-09 Thread Ishizaki Kou
We intend this patch to improve spidernet interrupt handling to be more strict. We had following problem and this patch solves it. -when CONFIG_DEBUG_SHIRQ=y, request_irq() calls handler(). -when spider_net_open() is called, it calls request_irq() which calls spider_net_interrupt(). -if

Re: Big sized packets have been dropped strangly

2007-07-09 Thread Bill Davidsen
gshan wrote: Hey Guys, I got a strange problem recently but no ideas, so to post the question here. We have a FPGA what finish ATM AAL5 to ethernet frame, and CPU receives IP packets from it. The interface based on the FPGA (called sar0) has been bound with several IP addresses. When the MTU

Re: [2.6 patch] the overdue eepro100 removal

2007-07-09 Thread Bill Davidsen
Please do not make unnecessary kernel changes which require changes in our systems. Kok, Auke wrote: Bill Davidsen wrote: Adrian Bunk wrote: This patch contains the overdue removal of the eepro100 driver. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] The hardware supported by this driver is

Re: [patch 5/7] CAN: Add virtual CAN netdevice driver

2007-07-09 Thread Urs Thuermann
Patrick McHardy [EMAIL PROTECTED] writes: I currently still prefer no default interfaces, since we would get rid of some code. Me too, and you don't need to worry about compatibility. Here is a new version of the vcan driver for you to review. We now use the netlink link creation API

Re: L2 network namespaces + macvlan performances

2007-07-09 Thread Herbert Poetzl
On Fri, Jul 06, 2007 at 06:48:15PM +0200, Benjamin Thery wrote: Following a discussion we had at OLS concerning L2 network namespace performances and how the new macvlan driver could potentially improve them, I've ported the macvlan patchset on top of Eric's net namespace patchset on

Re: + gen_estimator-fix-locking-and-timer-related-bugs.patch added to -mm tree

2007-07-09 Thread Ranko Zivojnovic
On Sat, 2007-07-07 at 17:10 +0200, Patrick McHardy wrote: On Sat, 7 Jul 2007, Ranko Zivojnovic wrote: Maybe the appropriate way to fix this would to call gen_kill_estimator, with the appropriate lock order, before the call to qdisc_destroy, so when dev-queue_lock is taken for qdisc_destroy

Re: [2.6 patch] the overdue eepro100 removal

2007-07-09 Thread Adrian Bunk
On Thu, Jul 05, 2007 at 12:01:56PM -0400, Bill Davidsen wrote: Please do not make unnecessary kernel changes which require changes in our systems. Welcome to the kernel 2.6 development model. Kok, Auke wrote: Bill Davidsen wrote: Adrian Bunk wrote: This patch contains the overdue removal

Re: [PATCH] Fix kernel unaligned access with r8169 on sparc64

2007-07-09 Thread Florian Fainelli
Few things about this patch. It's pretty quick and dirty, more experienced people with a better knowledge of the ip stack would certainly do better. Though the problem was reported with Debian's 2.6.18 kernel, it is also present in the 2.6.22-rc6 version. Without the patch, I can hardly achieve

Re: + gen_estimator-fix-locking-and-timer-related-bugs.patch added to -mm tree

2007-07-09 Thread Patrick McHardy
Ranko Zivojnovic wrote: On Sat, 2007-07-07 at 17:10 +0200, Patrick McHardy wrote: On Sat, 7 Jul 2007, Ranko Zivojnovic wrote: Maybe the appropriate way to fix this would to call gen_kill_estimator, with the appropriate lock order, before the call to qdisc_destroy, so when dev-queue_lock is

Re: [RFC] Allow LSM to use IP address/port number.

2007-07-09 Thread Tetsuo Handa
Hello. Thank you for your comment. David Miller wrote: I don't think it's such a hot idea to return errors if the wait_on_sync_kiocb() has returned success. My patch may return errors for non-wait_on_sync_kiocb() case too. Are you saying only wait_on_sync_kiocb() case is bad? If so, could you

Re: [patch 5/7] CAN: Add virtual CAN netdevice driver

2007-07-09 Thread Patrick McHardy
Urs Thuermann wrote: + * CAN network devices *should* support a local loopback functionality + * (see Documentation/networking/can.txt). To test the handling of CAN + * interfaces that do not support the loopback both driver types are + * implemented inside this vcan driver. In the case that

RE: [PATCH] ixgbe: Introduce new 10GbE driver for Intel 82598 based PCI Express adapters...

2007-07-09 Thread Veeraiyan, Ayyappan
From: Neil Horman [mailto:[EMAIL PROTECTED] Replying to myself... I've looked through the driver pretty throughly with regards to my above concern, and it appears the driver is reasonably free of netpoll issues at the moment, at least as far as what we found in e1000 was concerned. I do

Re: [patch 5/7] CAN: Add virtual CAN netdevice driver

2007-07-09 Thread Oliver Hartkopp
Patrick McHardy wrote: Urs Thuermann wrote: (..) To test the handling of CAN + * interfaces that do not support the loopback both driver types are + * implemented inside this vcan driver. (..) Still configuration of the network device based on module parameters. What about people

Re: [Bugme-new] [Bug 8726] New: MSG_TRUNC not regarded in unix_dgram_recvmsg()

2007-07-09 Thread Andrew Morton
On Mon, 9 Jul 2007 04:01:58 -0700 (PDT) [EMAIL PROTECTED] wrote: http://bugzilla.kernel.org/show_bug.cgi?id=8726 Summary: MSG_TRUNC not regarded in unix_dgram_recvmsg() Product: Networking Version: 2.5 KernelVersion: 2.6.19 Platform: All

Re: + gen_estimator-fix-locking-and-timer-related-bugs.patch added to -mm tree

2007-07-09 Thread Ranko Zivojnovic
On Mon, 2007-07-09 at 15:52 +0200, Patrick McHardy wrote: Ranko Zivojnovic wrote: Patrick, I've taken liberty to try and implement this myself. Attached is the whole new gen_estimator-fix-locking-and-timer-related-bugs.patch that is RCU lists based. Please be kind to review. Thanks for

Re: + gen_estimator-fix-locking-and-timer-related-bugs.patch added to -mm tree

2007-07-09 Thread Patrick McHardy
Ranko Zivojnovic wrote: On Mon, 2007-07-09 at 15:52 +0200, Patrick McHardy wrote: You could also use synchronize_rcu(), estimator destruction is not particulary performance critical. I've tried synchronize_rcu(), but it went kaboom with the below, thus call_rcu() must stay: ---cut---

Re: L2 network namespaces + macvlan performances

2007-07-09 Thread Rick Jones
Between the normal case and the net namespace + macvlan case, results are about the same for both the throughput and the local CPU load for the following test types: TCP_MAERTS, TCP_RR, UDP_STREAM, UDP_RR. macvlan looks like a very good candidate for network namespace in these cases. But,

RFC: removing DONGLE_OLD drivers?

2007-07-09 Thread Adrian Bunk
With one exception, all DONGLE_OLD drivers have newer counterparts. The DONGLE_OLD drivers depend on BROKEN_ON_SMP which e.g. implies that the many distributions shipping only SMP-kernels will never offer them. The one exception is a driver for the Cirrus Logic EDB-7211 evaluation board that

Re: [2.6 patch] the overdue eepro100 removal

2007-07-09 Thread Bill Davidsen
Adrian Bunk wrote: On Thu, Jul 05, 2007 at 12:01:56PM -0400, Bill Davidsen wrote: Please do not make unnecessary kernel changes which require changes in our systems. If you think the e100 driver fixes your problems use it and be happy. But since you don't have to test system behavior

[GIT PATCH] Updates for RH0 deprecation.

2007-07-09 Thread YOSHIFUJI Hideaki / 吉藤英明
Hello. This is take 2 of updates for deprecating RH0 for linux-2.6.22 (or net-2.6.23). Note: sorry, previous patches introduced a linkage error. Though it is not a good idea to disable RH2, we retain the knob for it so far for backward compatibility. Changesets are available at

[BUG] ISIC + 2.6.22 (via-rhine)

2007-07-09 Thread Xose Vazquez Perez
hi, Running ISIC -- IP Stack Integrity Checker ( http://isic.sf.net ), in Fedora-7-i386 with 2.6.22, the NIC stopped to send packages. But 1 second latter it began to send out more of them. dmesg shows the bug. command is: # tcpsic -s rand -d 172.26.0.2 -I100 driver is:

Re: [2.6 patch] the overdue eepro100 removal

2007-07-09 Thread Kok, Auke
Bill Davidsen wrote: Adrian Bunk wrote: On Thu, Jul 05, 2007 at 12:01:56PM -0400, Bill Davidsen wrote: Please do not make unnecessary kernel changes which require changes in our systems. If you think the e100 driver fixes your problems use it and be happy. But since you don't have to

[PATCH] bonding / ipv6: no addrconf for slaves separately from master

2007-07-09 Thread Jay Vosburgh
At present, when a device is enslaved to bonding, if ipv6 is active then addrconf will be initated on the slave (because it is closed then opened during the enslavement processing). This causes DAD and RS packets to be sent from the slave. These packets in turn can confuse switches that

Re: [2.6 patch] the overdue eepro100 removal

2007-07-09 Thread Adrian Bunk
On Mon, Jul 09, 2007 at 01:27:55PM -0400, Bill Davidsen wrote: Adrian Bunk wrote: On Thu, Jul 05, 2007 at 12:01:56PM -0400, Bill Davidsen wrote: Please do not make unnecessary kernel changes which require changes in our systems. If you think the e100 driver fixes your problems use

Re: [2.6 patch] the overdue eepro100 removal

2007-07-09 Thread Jeff Garzik
Kok, Auke wrote: as discussed before we really want to avoid having (1) an unmaintained bitrotting driver for X and (2) one that should work because people are being paid to take care of it. The community has always encouraged us to work with us fixing the last issues in e100 to make it work

Re: Splitting e1000 (Was: Re: e1000: backport ich9 support from 7.5.5 ?)

2007-07-09 Thread Jeff Garzik
Andrew Grover wrote: On 7/8/07, Jeff Garzik [EMAIL PROTECTED] wrote: * e1000 gets feedback * Intel disappears for months * Intel reappears with e1000 rewrite * you ask them for another complete (simpler) rewrite * Intel fights tooth and nail when the driver is not accepted verboten I

Re: Splitting e1000 (Was: Re: e1000: backport ich9 support from 7.5.5 ?)

2007-07-09 Thread Jeff Garzik
Arjan van de Ven wrote: Jeff Garzik wrote: Is this is the attitude, what's the point of even posting the driver for review? Intel posted e1000new on June 29. Feedback was then posted. and feedback is being incorperated. Ten days later, without a single revision, Intel declares its own

firmware in drivers/net/bnx2_fw{,2}.h

2007-07-09 Thread Adrian Bunk
$ filterdiff -z -i \*bnx2_fw\* patch-2.6.22.gz | diffstat -p1 -w72 drivers/net/bnx2_fw.h | 1697 +--- drivers/net/bnx2_fw2.h | 7868 - 2 files changed, 4982 insertions(+), 4583 deletions(-) $ Please switch this driver to use request_firmware(). TIA

Re: Splitting e1000 (Was: Re: e1000: backport ich9 support from 7.5.5 ?)

2007-07-09 Thread Stephen Hemminger
Let me ask a different question. Why do we have some many user reported problems with network drivers, not just the E1000's? Is it lack of specifications? test infrastructure? Or as I suspect lots of it has to with the myriad of chip revisions, including cases where designs get reworked by OEM's.

[patch 1/7] 8139too: force media setting cleanup

2007-07-09 Thread akpm
From: Bernard Lee [EMAIL PROTECTED] Setting bit 4 5 alone in 8139too module media option does not really force 100Mbps full-duplex mode. When media option bit 0-3 is cleared, 8139too module does not force media setting. Therefore, bit 0-3 requires to be set for bit 4 5 to take effect. The

[patch 3/7] atari_pamsnet.c: old declaration ritchie style fix

2007-07-09 Thread akpm
From: Yoann Padioleau [EMAIL PROTECTED] Use consistent function declaration style. Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/net/atari_pamsnet.c | 62 -- 1 files changed, 22 insertions(+), 40 deletions(-) diff -puN

[patch 5/7] use is_power_of_2() in cxgb3/cxgb3_main.c

2007-07-09 Thread akpm
From: vignesh babu [EMAIL PROTECTED] Replace (n (n-1)) with is_power_of_2() Signed-off-by: vignesh babu [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/net/cxgb3/cxgb3_main.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff -puN

[patch 6/7] Use is_power_of_2() in myri10ge/myri10ge.c

2007-07-09 Thread akpm
From: vignesh babu [EMAIL PROTECTED] Replace (n (n-1)) with is_power_of_2() Signed-off-by: vignesh babu [EMAIL PROTECTED] Cc: Brice Goglin [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/net/myri10ge/myri10ge.c |3 ++- 1 files changed, 2 insertions(+), 1

[patch 4/7] sundance: PHY address form 0, only for device ID 0x0200 (IP100A) (20070605)

2007-07-09 Thread akpm
From: Jesse Huang [EMAIL PROTECTED] Search PHY address form 0, only for device ID 0x0200 (IP100A). Other device are from PHY address 1. Signed-off-by: Jesse Huang [EMAIL PROTECTED] Cc: Jeff Garzik [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/net/sundance.c |

[patch 2/7] Blackfin: on-chip ethernet MAC controller driver

2007-07-09 Thread akpm
From: Wu, Bryan [EMAIL PROTECTED] This patch implements the driver necessary use the Analog Devices Blackfin processor's on-chip ethernet MAC controller. Signed-off-by: Bryan Wu [EMAIL PROTECTED] Cc: Jeff Garzik [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] ---

[patch 7/7] 3cSOHO100-TX needs EXTRA_PREAMBLE

2007-07-09 Thread akpm
From: Steffen Klassert [EMAIL PROTECTED] The 3cSOHO100-TX needs a mdio_sync() before mdio_read() to read the MII transceiver registers properly. Adding EXTRA_PREAMBLE to drv_flags of the 3cSOHO100-TX will force this. This problem exists already for years (I checked back to 2.6.8). Setting

[patch 4/8] use mutex instead of semaphore in VLSI 82C147 IrDA controller driver

2007-07-09 Thread akpm
From: Matthias Kaehlcke [EMAIL PROTECTED] The VLSI 82C147 IrDA controller driver uses a semaphore as mutex. Use the mutex API instead of the (binary) semaphore. Signed-off-by: Matthias Kaehlcke [EMAIL PROTECTED] Cc: Samuel Ortiz [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED]

[patch 7/8] net/ipv4/netfilter/ip_tables.c: lower printk severity

2007-07-09 Thread akpm
From: Dan Aloni [EMAIL PROTECTED] Signed-off-by: Dan Aloni [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- net/ipv4/netfilter/ip_tables.c |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN

[patch 6/8] net: make struct dccp_li_cachep static

2007-07-09 Thread akpm
From: Adrian Bunk [EMAIL PROTECTED] Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- net/dccp/ccids/lib/loss_interval.c |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN

[patch 5/8] bonding/bond_main.c: make 2 functions static

2007-07-09 Thread akpm
From: Adrian Bunk [EMAIL PROTECTED] Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Cc: Chad Tindel [EMAIL PROTECTED] Cc: Jay Vosburgh [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/net/bonding/bond_main.c |5 +++-- drivers/net/bonding/bonding.h |2 -- 2

[patch 8/8] RPC: Remove Makefile reference to obsolete RXRPC config variable

2007-07-09 Thread akpm
From: Robert P. J. Day [EMAIL PROTECTED] Since there is no Kconfig variable RXRPC anywhere in the tree, and the variable AF_RXRPC performs exactly the same function, remove the reference to CONFIG_RXRPC from net/Makefile. Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] Cc: Trond Myklebust

[patch 1/8] Make ATM driver use seq_list_xxx helpers

2007-07-09 Thread akpm
From: Pavel Emelianov [EMAIL PROTECTED] The .show callback receives the list_head pointer now, not the struct br2684_dev one. Signed-off-by: Pavel Emelianov [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- net/atm/br2684.c | 22 -- 1 files changed, 4

[patch 2/8] Make some network-related proc files use seq_list_xxx helpers

2007-07-09 Thread akpm
From: Pavel Emelianov [EMAIL PROTECTED] This includes /proc/net/protocols, /proc/net/rxrpc_calls and /proc/net/rxrpc_connections files. All three need seq_list_start_head to show some header. Signed-off-by: Pavel Emelianov [EMAIL PROTECTED] Acked-by: David S. Miller [EMAIL PROTECTED]

[patch 3/8] wrong timeout value in sk_wait_data(): cleanups

2007-07-09 Thread akpm
From: Andrew Morton [EMAIL PROTECTED] - save 4 bytes - it's read-mostly. Cc: David S. Miller [EMAIL PROTECTED] Acked-by: Vasily Averin [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- net/core/sock.c |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) diff -puN

Re: [Cbe-oss-dev] [PATCH] ps3: gigabit ethernet driver for PS3, take3

2007-07-09 Thread Linas Vepstas
On Mon, Jul 09, 2007 at 10:50:19AM +0900, Akira Tsukamoto wrote: Hi, On Fri, 6 Jul 2007 13:02:41 -0500, [EMAIL PROTECTED] (Linas Vepstas) mentioned: of the spidernet device driver. Please note that the old spidernet had absolutely disasterous performance for transmit; it also had a

Re: [RFC] Allow LSM to use IP address/port number. (was Re: [PATCH 1/1] Add post accept()/recvmsg() hooks.) (fwd)

2007-07-09 Thread James Morris
(original cc list has wrong netdev addr) -- Forwarded message -- Date: Mon, 9 Jul 2007 15:17:28 -0400 (EDT) From: James Morris [EMAIL PROTECTED] To: Tetsuo Handa [EMAIL PROTECTED] Cc: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: [RFC] Allow LSM to use

Re: Splitting e1000 (Was: Re: e1000: backport ich9 support from 7.5.5 ?)

2007-07-09 Thread Arjan van de Ven
Jeff Garzik wrote: I'll leave the first two to Auke; the discussion I had with Auke on Friday was that he felt that a lot of the ugly stuff you complained about will go away if there is a PCI-E/older split, the PCI-E cards are more or less of the same major generation, while pre-PCI-E is

Re: [patch 1/8] Make ATM driver use seq_list_xxx helpers

2007-07-09 Thread David Miller
From: [EMAIL PROTECTED] Date: Mon, 09 Jul 2007 11:51:09 -0700 From: Pavel Emelianov [EMAIL PROTECTED] The .show callback receives the list_head pointer now, not the struct br2684_dev one. Signed-off-by: Pavel Emelianov [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED]

Re: [patch 2/8] Make some network-related proc files use seq_list_xxx helpers

2007-07-09 Thread David Miller
From: [EMAIL PROTECTED] Date: Mon, 09 Jul 2007 11:51:10 -0700 From: Pavel Emelianov [EMAIL PROTECTED] This includes /proc/net/protocols, /proc/net/rxrpc_calls and /proc/net/rxrpc_connections files. All three need seq_list_start_head to show some header. Signed-off-by: Pavel Emelianov

Re: [patch 3/8] wrong timeout value in sk_wait_data(): cleanups

2007-07-09 Thread David Miller
From: [EMAIL PROTECTED] Date: Mon, 09 Jul 2007 11:51:10 -0700 From: Andrew Morton [EMAIL PROTECTED] - save 4 bytes - it's read-mostly. Cc: David S. Miller [EMAIL PROTECTED] Acked-by: Vasily Averin [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] Applied. - To

Re: [patch 4/8] use mutex instead of semaphore in VLSI 82C147 IrDA controller driver

2007-07-09 Thread David Miller
From: [EMAIL PROTECTED] Date: Mon, 09 Jul 2007 11:51:11 -0700 From: Matthias Kaehlcke [EMAIL PROTECTED] The VLSI 82C147 IrDA controller driver uses a semaphore as mutex. Use the mutex API instead of the (binary) semaphore. Signed-off-by: Matthias Kaehlcke [EMAIL PROTECTED] Cc: Samuel

Re: [2.6 patch] the overdue eepro100 removal

2007-07-09 Thread Bill Davidsen
Adrian Bunk wrote: On Mon, Jul 09, 2007 at 01:27:55PM -0400, Bill Davidsen wrote: For how many years do you know that there's a new and actively maintained e100 driver for your hardware? And if you don't follow a stable line like the 2.6.16 kernel or a distribution kernel it's simply a

Re: [patch 6/8] net: make struct dccp_li_cachep static

2007-07-09 Thread David Miller
From: [EMAIL PROTECTED] Date: Mon, 09 Jul 2007 11:51:12 -0700 From: Adrian Bunk [EMAIL PROTECTED] Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] Applied. - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message

Re: [patch 7/8] net/ipv4/netfilter/ip_tables.c: lower printk severity

2007-07-09 Thread David Miller
From: [EMAIL PROTECTED] Date: Mon, 09 Jul 2007 11:51:13 -0700 From: Dan Aloni [EMAIL PROTECTED] Signed-off-by: Dan Aloni [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] Applied. - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to

Re: [patch 8/8] RPC: Remove Makefile reference to obsolete RXRPC config variable

2007-07-09 Thread David Miller
From: [EMAIL PROTECTED] Date: Mon, 09 Jul 2007 11:51:14 -0700 From: Robert P. J. Day [EMAIL PROTECTED] Since there is no Kconfig variable RXRPC anywhere in the tree, and the variable AF_RXRPC performs exactly the same function, remove the reference to CONFIG_RXRPC from net/Makefile.

Re: [2.6 patch] the overdue eepro100 removal

2007-07-09 Thread Ian McDonald
On 7/10/07, Bill Davidsen [EMAIL PROTECTED] wrote: If there were any benefit to removing a working driver I would at least be able to see it as a resources issue, but as far as I can see you just seem to have a personal preference for the e100 driver and want to force others to use it because

[RFC NET_SCHED 00/05]: Kill NET_CLS_POLICE

2007-07-09 Thread Patrick McHardy
[This is a resend because of a typo in Jamal's address that I believe made vger reject the mails. Appologies in case they arrive twice.] These patches update the NET_CLS_ACT code to fully replace NET_CLS_POLICE and remove the old code. There is one incompatibility, please look at patch 4/5 for

[NET_SCHED 01/05]: sch_atm: Lindent

2007-07-09 Thread Patrick McHardy
[NET_SCHED]: sch_atm: Lindent Signed-off-by: Patrick McHardy [EMAIL PROTECTED] --- commit d040f72f96e69c5494179d4431e8db82e8a11c74 tree c222557e0331125f9ac157bf0206325668e53287 parent 10501d604facdda8ff5b0540adae573807e6a95a author Patrick McHardy [EMAIL PROTECTED] Mon, 09 Jul 2007 19:26:14

[NET_SCHED 02/05]: sch_atm: act_api support

2007-07-09 Thread Patrick McHardy
[NET_SCHED]: sch_atm: act_api support Handle act_api classification results. The ATM scheduler behaves slightly different than other schedulers in that it only handles policer results for successful classifications, this behaviour is retained for the act_api case. Signed-off-by: Patrick McHardy

[NET_SCHED 03/05]: sch_dsmark: act_api support

2007-07-09 Thread Patrick McHardy
[NET_SCHED]: sch_dsmark: act_api support Handle act_api classification results. Signed-off-by: Patrick McHardy [EMAIL PROTECTED] --- commit 57dbe6717456e774fc1163d801eab312d7c092e5 tree 12daa5c379f9dd30fb59b262a00dafbe6650299f parent c7c3ff564b59bfb21aadd54cabab9369f120eaba author Patrick

[NET_SCHED 04/05]: act_api: qdisc internal reclassify support

2007-07-09 Thread Patrick McHardy
[NET_SCHED]: act_api: qdisc internal reclassify support The behaviour of NET_CLS_POLICE for TC_POLICE_RECLASSIFY was to return it to the qdisc, which could handle it internally or ignore it. With NET_CLS_ACT however, tc_classify starts over at the first classifier and never returns it to the

[NET_SCHED 05/05]: Kill CONFIG_NET_CLS_POLICE

2007-07-09 Thread Patrick McHardy
[NET_SCHED]: Kill CONFIG_NET_CLS_POLICE The NET_CLS_ACT option is now a full replacement for NET_CLS_POLICE, remove the old code. The config option will be kept around to select the equivalent NET_CLS_ACT options for a short time to allow easier upgrades. Signed-off-by: Patrick McHardy [EMAIL

Re: Splitting e1000 (Was: Re: e1000: backport ich9 support from 7.5.5 ?)

2007-07-09 Thread Kok, Auke
Jeff Garzik wrote: Ignoring small potatoes, the merge stoppers in my mind are: 1) Transition plan. I strongly oppose switching all e1000 users en masse to a new driver, especially so soon. Flag day transitions to unproven drivers suck. Defaults don't work: users use the old driver until

Re: [PATCH] spidernet: don't use debug flag

2007-07-09 Thread Linas Vepstas
On Mon, Jul 09, 2007 at 05:45:21PM +0900, Ishizaki Kou wrote: GDTDCEIDIS flag is defined that it is for debug and should not be used. !? Certainly, my spec doesn't say anything like this; I don't know of any other way of turning off the descriptor chain end interrupt; leaving it on hurts

Re: [GIT PATCH] Updates for RH0 deprecation.

2007-07-09 Thread David Miller
From: YOSHIFUJI Hideaki / 吉藤英明 [EMAIL PROTECTED] Date: Tue, 10 Jul 2007 02:29:01 +0900 (JST) Changesets are available at git://git.linux-ipv6.org/gitroot/yoshfuji/linux-2.6-dev.git/ on the branch named linux-2.6.22_deprecate-rh0-20070710 [EMAIL PROTECTED]:~/src/GIT/ipv6-2.6$ git

O_CLOEXEC patches

2007-07-09 Thread Andrew Morton
A couple of patches here which affect networking. Please review... - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

[patch 2/2] O_CLOEXEC for SCM_RIGHTS

2007-07-09 Thread akpm
From: Ulrich Drepper [EMAIL PROTECTED] Part two in the O_CLOEXEC saga: adding support for file descriptors received through Unix domain sockets. The patch is once again pretty minimal, it introduces a new flag for recvmsg and passes it just like the existing MSG_CMSG_COMPAT flag. I think this

[patch 1/2] Introduce O_CLOEXEC

2007-07-09 Thread akpm
From: Ulrich Drepper [EMAIL PROTECTED] The problem is as follows: in multi-threaded code (or more correctly: all code using clone() with CLONE_FILES) we have a race when exec'ing. thread #1 thread #2 fd=open() fork + exec

Re: [PATCH][NET_SCHED] Make HTB scheduler work with TSO.

2007-07-09 Thread David Miller
From: Ranjit Manomohan [EMAIL PROTECTED] Date: Tue, 12 Jun 2007 16:53:21 -0700 (PDT) Currently the HTB scheduler does not correctly account for TSO packets which causes large inaccuracies in the bandwidth control when using TSO. This patch allows the HTB scheduler to work with TSO enabled

Re: [PATCH] spidernet: improve interrupt handling

2007-07-09 Thread Linas Vepstas
On Mon, Jul 09, 2007 at 05:48:08PM +0900, Ishizaki Kou wrote: We intend this patch to improve spidernet interrupt handling to be more strict. We had following problem and this patch solves it. Looks reasonable to me. I'll forward it upstream. In the future, could you use diff -Nupr? it adds

Re: [GIT PATCH] Updates for RH0 deprecation.

2007-07-09 Thread YOSHIFUJI Hideaki / 吉藤英明
In article [EMAIL PROTECTED] (at Mon, 09 Jul 2007 14:28:30 -0700 (PDT)), David Miller [EMAIL PROTECTED] says: From: YOSHIFUJI Hideaki / 吉藤英明 [EMAIL PROTECTED] Date: Tue, 10 Jul 2007 02:29:01 +0900 (JST) Changesets are available at

Re: Splitting e1000 (Was: Re: e1000: backport ich9 support from 7.5.5 ?)

2007-07-09 Thread Jeff Garzik
Kok, Auke wrote: I would strongly vote for taking a stripped down e1000new then, mask out all the pci id's except ich9, remove all code for pre-pci-e silicon and remove the most annoying and needlessly complexing code like the semi-implemented multiqueue code that is in there. I'm fine for

[PATCH 2.6] WE : Fix get 32 char ESSID

2007-07-09 Thread Jean Tourrilhes
Hi, A little bug was introduced a few months ago that prevent reading ESSID with 32 character. Philippe Teuwen was the first one to report that, followed by the MadWifi team : http://madwifi.org/ticket/930 The patch fix this bug by removing obsolete code.

[PATCH 2.6] SoftMAC : fix ESSID problem

2007-07-09 Thread Jean Tourrilhes
Hi, Victor Porton reported that the SoftMAC layer had random problem when setting the ESSID : http://bugzilla.kernel.org/show_bug.cgi?id=8686 After investigation, it turned out to be worse, the SoftMAC layer is left in an inconsistent state. The fix is

[PATCH 04/12] sky2: check for more work before leaving NAPI

2007-07-09 Thread Stephen Hemminger
This patch avoids generating another IRQ if more packets arrive while in the NAPI poll routine. Before marking device as finished, it rechecks that the status ring is empty. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- a/drivers/net/sky2.c2007-07-09 15:30:09.0 -0700

[PATCH 00/12] sky2 driver updates for 2.6.23

2007-07-09 Thread Stephen Hemminger
Mostly small things, the first patch is a resend of the hang fix that should have been in 2.6.22, but went out too late on Friday to make it. -- Stephen Hemminger [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED]

[PATCH 01/12] sky2: restore workarounds for lost interrupts

2007-07-09 Thread Stephen Hemminger
This patch restores a couple of workarounds from 2.6.16: * restart transmit moderation timer in case it expires during IRQ routine * default to having 10 HZ watchdog timer. At this point it more important not to hang than to worry about the power cost. Signed-off-by: Stephen Hemminger [EMAIL

[PATCH 02/12] sky2: carrier management

2007-07-09 Thread Stephen Hemminger
Make sky2 handle carrier similar to other drivers, eliminate some possible races in carrier state transistions. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- a/drivers/net/sky2.c2007-07-09 15:30:08.0 -0700 +++ b/drivers/net/sky2.c2007-07-09 15:30:09.0

[PATCH 05/12] sky2: receive fill

2007-07-09 Thread Stephen Hemminger
Simplify receive buffer refill logic. Rather than trying to update incrementally; do receive ring refill at end of receive processing. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- a/drivers/net/sky2.c2007-07-09 15:30:10.0 -0700 +++ b/drivers/net/sky2.c

[PATCH 08/12] sky2: check drop truncated packets

2007-07-09 Thread Stephen Hemminger
If packet larger than MTU is received, the driver uses hardware to truncate the packet. Use the status registers to catch/drop them. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- a/drivers/net/sky2.c2007-07-09 15:30:12.0 -0700 +++ b/drivers/net/sky2.c2007-07-09

[PATCH 09/12] sky2: use roundup() macro

2007-07-09 Thread Stephen Hemminger
Use roundup() macro to size receive buffer. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- a/drivers/net/sky2.c2007-07-09 15:30:12.0 -0700 +++ b/drivers/net/sky2.c2007-07-09 15:30:13.0 -0700 @@ -1180,8 +1180,7 @@ static int sky2_rx_start(struct sky2_por

[PATCH 03/12] sky2: debug interface

2007-07-09 Thread Stephen Hemminger
Add an optional debug interface for displaying state of transmit/receive rings. Creates a file debugfs/sky2/ethX for each device that is up. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- drivers/net/Kconfig | 10 ++ drivers/net/sky2.c | 176

[PATCH 07/12] sky2: add support for read/write of EEPROM

2007-07-09 Thread Stephen Hemminger
Add get/set eeprom support for sky2. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- drivers/net/sky2.c | 140 +++-- 1 file changed, 115 insertions(+), 25 deletions(-) --- a/drivers/net/sky2.c2007-07-09 15:30:10.0 -0700

[PATCH 06/12] sky2: unmark as EXPERIMENTAL

2007-07-09 Thread Stephen Hemminger
Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- a/drivers/net/Kconfig 2007-07-09 15:30:09.0 -0700 +++ b/drivers/net/Kconfig 2007-07-09 15:30:11.0 -0700 @@ -2118,7 +2118,7 @@ config SKGE will be called skge. This is recommended. config SKY2 -

[PATCH 12/12] sky2: 1.16 version

2007-07-09 Thread Stephen Hemminger
Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- a/drivers/net/sky2.c2007-07-09 15:30:14.0 -0700 +++ b/drivers/net/sky2.c2007-07-09 15:30:15.0 -0700 @@ -51,7 +51,7 @@ #include sky2.h #define DRV_NAME sky2 -#define DRV_VERSION1.15

[PATCH 11/12] sky2: remove some leftover debug messages

2007-07-09 Thread Stephen Hemminger
Eliminate extra debug messages Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- drivers/net/sky2.c |5 - 1 file changed, 5 deletions(-) --- a/drivers/net/sky2.c2007-07-09 15:30:14.0 -0700 +++ b/drivers/net/sky2.c2007-07-09 15:30:14.0 -0700 @@

[PATCH 10/12] sky2: use upper_32_bits() macro

2007-07-09 Thread Stephen Hemminger
Use upper_32_bits() inline Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- a/drivers/net/sky2.c2007-07-09 15:30:13.0 -0700 +++ b/drivers/net/sky2.c2007-07-09 15:30:14.0 -0700 @@ -893,24 +893,18 @@ static inline struct sky2_rx_le *sky2_ne return le;

Re: [PATCH 2.6] SoftMAC : fix ESSID problem

2007-07-09 Thread Michael Buesch
On Tuesday 10 July 2007 00:19:22 Jean Tourrilhes wrote: Hi, Victor Porton reported that the SoftMAC layer had random problem when setting the ESSID : http://bugzilla.kernel.org/show_bug.cgi?id=8686 After investigation, it turned out to be worse, the SoftMAC

Re: [RFC] Allow LSM to use IP address/port number.

2007-07-09 Thread James Morris
On Mon, 9 Jul 2007, Tetsuo Handa wrote: It drops messages from unwanted IP address/ports. (To be exact, it doesn't drop, it just tells userland process not to use received messages by returning errors.) This is broken. You need to properly fail the network operation and ensure that the peers

Re: [RFC] Allow LSM to use IP address/port number.

2007-07-09 Thread Stephen Hemminger
On Mon, 9 Jul 2007 18:50:27 -0400 (EDT) James Morris [EMAIL PROTECTED] wrote: On Mon, 9 Jul 2007, Tetsuo Handa wrote: It drops messages from unwanted IP address/ports. (To be exact, it doesn't drop, it just tells userland process not to use received messages by returning errors.) This

[PATCH] spidernet: improve interrupt handling

2007-07-09 Thread Linas Vepstas
From: Ishizaki Kou [EMAIL PROTECTED] We intend this patch to improve spidernet interrupt handling to be more strict. We had following problem and this patch solves it. -when CONFIG_DEBUG_SHIRQ=y, request_irq() calls handler(). -when spider_net_open() is called, it calls request_irq() which

Re: [RFC] Allow LSM to use IP address/port number.

2007-07-09 Thread James Morris
On Mon, 9 Jul 2007, Stephen Hemminger wrote: Isn't it better to hook into existing netfilter infrastructure somehow? Yes, it has been suggested several times. -- James Morris [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to

Re: [PATCH 2.6] SoftMAC : fix ESSID problem

2007-07-09 Thread Jean Tourrilhes
On Mon, Jul 09, 2007 at 06:40:44PM -0500, Larry Finger wrote: This patch should also be sent to [EMAIL PROTECTED] Please do so if you like it. Larry Jean - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More

  1   2   >