[PATCH net-2.6.25 2/8] include/net: Use ipv4_is_type

2007-12-13 Thread Joe Perches
Signed-off-by: Joe Perches [EMAIL PROTECTED] --- include/net/addrconf.h | 10 ++ 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/include/net/addrconf.h b/include/net/addrconf.h index c56827d..1c3a560 100644 --- a/include/net/addrconf.h +++ b/include/net/addrconf.h @@

[PATCH net-2.6.25 3/8] net/core: Use ipv4_is_type

2007-12-13 Thread Joe Perches
Signed-off-by: Joe Perches [EMAIL PROTECTED] --- net/core/netpoll.c |3 ++- net/core/pktgen.c |8 +--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/net/core/netpoll.c b/net/core/netpoll.c index b1d5acd..6faa128 100644 --- a/net/core/netpoll.c +++

[PATCH net-2.6.25 1/8] Create ipv4_is_type(__be32 addr) functions

2007-12-13 Thread Joe Perches
Change IPV4 specific macros LOOPBACK MULTICAST LOCAL_MCAST BADCLASS and ZERONET macros to inline functions ipv4_is_type(__be32 addr) Adds type safety and arguably some readability. Changes since last submission: Removed ipv4_addr_octets function Used hex constants Converted recently added

[PATCH net-2.6.25 5/8] net/netfilter: Use ipv4_is_type

2007-12-13 Thread Joe Perches
Signed-off-by: Joe Perches [EMAIL PROTECTED] --- net/netfilter/xt_pkttype.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/net/netfilter/xt_pkttype.c b/net/netfilter/xt_pkttype.c index c598bbe..2762449 100644 --- a/net/netfilter/xt_pkttype.c +++

[PATCH net-2.6.25 8/8] Remove unused IPV4TYPE macros

2007-12-13 Thread Joe Perches
Signed-off-by: Joe Perches [EMAIL PROTECTED] --- include/linux/in.h | 14 -- 1 files changed, 0 insertions(+), 14 deletions(-) diff --git a/include/linux/in.h b/include/linux/in.h index f8d6073..27d8a5a 100644 --- a/include/linux/in.h +++ b/include/linux/in.h @@ -272,12 +272,6 @@

[patch 1/4] Updates to nfsroot documentation

2007-12-13 Thread akpm
From: Amos Waterland [EMAIL PROTECTED] The difference between ip=off and ip=::off has been a cause of much confusion. Document how each behaves, and do not contradict ourselves by saying that off is the default when in fact any is the default and is descibed as being so lower in the file.

[patch 3/4] tipc: fix semaphore handling

2007-12-13 Thread akpm
From: Andrew Morton [EMAIL PROTECTED] As noted by Kevin, tipc's release() does down_interruptible() and ignores the return value. So if signal_pending() we'll end up doing up() on a non-downed semaphore. Fix. Cc: Kevin Winchester [EMAIL PROTECTED] Cc: Per Liden [EMAIL PROTECTED] Cc: Jon Maloy

[patch 02/10] forcedeth: power down phy when interface is down

2007-12-13 Thread akpm
From: Ed Swierk [EMAIL PROTECTED] Bring the physical link down when the interface is down by placing the PHY in power-down state, unless WOL is enabled. This mirrors the behavior of other drivers including e1000 and tg3. Signed-off-by: Ed Swierk [EMAIL PROTECTED] Cc: Jeff Garzik [EMAIL

[patch 01/10] e1000e: make E1000E default to the same kconfig setting as E1000

2007-12-13 Thread akpm
From: Randy Dunlap [EMAIL PROTECTED] Make E1000E default to the same kconfig setting as E1000. So people's machiens don't stop working when they use oldconfig. Signed-off-by: Randy Dunlap [EMAIL PROTECTED] Cc: Jeff Garzik [EMAIL PROTECTED] Cc: Auke Kok [EMAIL PROTECTED] Signed-off-by: Andrew

[patch 03/10] forcedeth: fix MAC address detection on network card (regression in 2.6.23)

2007-12-13 Thread akpm
From: Michael Pyne [EMAIL PROTECTED] Partially revert a change to mac address detection introduced to the forcedeth driver. The change was intended to correct mac address detection for newer nVidia chipsets where the mac address was stored in reverse order. One of those chipsets appears to

[patch 10/10] PLIP driver: convert killed_timer_sem to completion

2007-12-13 Thread akpm
From: Matthias Kaehlcke [EMAIL PROTECTED] PLIP driver: convert the semaphore killed_timer_sem to a completion Signed-off-by: Matthias Kaehlcke [EMAIL PROTECTED] Cc: Jeff Garzik [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/net/plip.c | 10 +- 1 file

[patch 08/10] net: smc911x: shut up compiler warnings

2007-12-13 Thread akpm
From: Paul Mundt [EMAIL PROTECTED] Trivial fix to shut up gcc. Signed-off-by: Paul Mundt [EMAIL PROTECTED] Cc: Jeff Garzik [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/net/smc911x.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN

[patch 04/10] ucc_geth-fix-build-break-introduced-by-commit-09f75cd7bf13720738e6a196cc0107ce9a5bd5a0-checkpatch-fixes

2007-12-13 Thread akpm
From: Andrew Morton [EMAIL PROTECTED] Cc: David S. Miller [EMAIL PROTECTED] Cc: Emil Medve [EMAIL PROTECTED] Cc: Jeff Garzik [EMAIL PROTECTED] Cc: Kumar Gala [EMAIL PROTECTED] Cc: Li Yang [EMAIL PROTECTED] Cc: Paul Mackerras [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] ---

[patch 09/10] bnx2x depends on ZLIB_INFLATE

2007-12-13 Thread akpm
From: Lee Schermerhorn [EMAIL PROTECTED] The bnx2x module depends on the zlib_inflate functions. The build will fail if ZLIB_INFLATE has not been selected manually or by building another module that automatically selects it. Modify BNX2X config option to 'select ZLIB_INFLATE' like BNX2 and

[patch 05/10] pcmcia net: use roundup_pow_of_two() macro instead of grotesque loop

2007-12-13 Thread akpm
From: Robert P. J. Day [EMAIL PROTECTED] Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] Cc: Jeff Garzik [EMAIL PROTECTED] Cc: Dominik Brodowski [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/net/pcmcia/pcnet_cs.c |4 ++-- 1 file changed, 2 insertions(+), 2

[patch 06/10] Net: ibm_newemac, remove SPIN_LOCK_UNLOCKED

2007-12-13 Thread akpm
From: Jiri Slaby [EMAIL PROTECTED] SPIN_LOCK_UNLOCKED is deprecated, use DEFINE_SPINLOCK instead Signed-off-by: Jiri Slaby [EMAIL PROTECTED] Cc: Jeff Garzik [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/net/ibm_newemac/debug.c |2 +- 1 file changed, 1

[patch 07/10] e100: free IRQ to remove warning when rebooting

2007-12-13 Thread akpm
From: Ian Wienand [EMAIL PROTECTED] When rebooting today I got Will now restart. ACPI: PCI interrupt for device :00:03.0 disabled GSI 20 (level, low) - CPU 1 (0x0100) vector 53 unregistered Destroying IRQ53 without calling free_irq WARNING: at

RE: [patch 02/10] forcedeth: power down phy when interface is down

2007-12-13 Thread Ayaz Abdulla
I would not include this patch until further testing is performed. NVIDIA MCP chips use 3rd party PHY vendors. By powering down the phy, it could have adverse affects on certain phys. Ayaz -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, December 13,

[patch 4/4] PPP synchronous tty: convert dead_sem to completion

2007-12-13 Thread akpm
From: Matthias Kaehlcke [EMAIL PROTECTED] PPP synchronous tty channel driver: convert the semaphore dead_sem to a completion Signed-off-by: Matthias Kaehlcke [EMAIL PROTECTED] Cc: Paul Mackerras [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/net/ppp_synctty.c |

[patch 2/4] net: use mutex_is_locked() for ASSERT_RTNL()

2007-12-13 Thread akpm
From: Andrew Morton [EMAIL PROTECTED] ASSERT_RTNL() uses mutex_trylock(), but it's better to use mutex_is_locked(). Make that change, and remove rtnl_trylock() altogether. (not tested yet!) Cc: David S. Miller [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] ---

RE: What was the reason for 2.6.22 SMP kernels to change how sendmsg is called?

2007-12-13 Thread Brandeburg, Jesse
Kevin Wilson wrote: Nonetheless, a somewhat recent change in your tree, that I could not pinpoint on my own, caused the driver to stop functioning properly. So after much searching in git/google/sources with no luck, I decided to ask for a little assistance, maybe just a hint as to where the

Re: [patch 02/10] forcedeth: power down phy when interface is down

2007-12-13 Thread Ed Swierk
On 12/13/07, Andrew Morton [EMAIL PROTECTED] wrote: Does this patch actually fix any observeable problem? Without the patch, ifconfig down leaves the physical link up, which confuses datacenter users who expect the link lights both on the NIC and the switch to go out when they bring an interface

RE: [patch 02/10] forcedeth: power down phy when interface is down

2007-12-13 Thread Brandeburg, Jesse
Andrew Morton wrote: On Thu, 13 Dec 2007 16:11:55 -0800 Ayaz Abdulla [EMAIL PROTECTED] wrote: I would not include this patch until further testing is performed. NVIDIA MCP chips use 3rd party PHY vendors. By powering down the phy, it could have adverse affects on certain phys. Ayaz

Re: [patch 02/10] forcedeth: power down phy when interface is down

2007-12-13 Thread Andrew Morton
On Thu, 13 Dec 2007 16:11:55 -0800 Ayaz Abdulla [EMAIL PROTECTED] wrote: I would not include this patch until further testing is performed. NVIDIA MCP chips use 3rd party PHY vendors. By powering down the phy, it could have adverse affects on certain phys. Ayaz -Original

Re: [patch 02/10] forcedeth: power down phy when interface is down

2007-12-13 Thread Andrew Morton
On Thu, 13 Dec 2007 16:53:58 -0800 Ed Swierk [EMAIL PROTECTED] wrote: On 12/13/07, Andrew Morton [EMAIL PROTECTED] wrote: Does this patch actually fix any observeable problem? Without the patch, ifconfig down leaves the physical link up, which confuses datacenter users who expect the link

Regression: Wireshark sees no packets in 2.6.24-rc3

2007-12-13 Thread Ray Lee
tshark -i eth0, eth1, lo are all empty. Works under 2.6.23.0 just fine. A quick scan of the log between 2.6.24-rc3 and current tip (-rc5) doesn't show any obvious fixes, but then again, what do I know. I'll check current tip on the weekend when I'll have the luxury to have my main system down long

[PATCH 3/3] [DCCP]: Introducing CCMPS

2007-12-13 Thread Arnaldo Carvalho de Melo
From: Gerrit Renker [EMAIL PROTECTED] This introduces a CCMPS field for setting a CCID-specific upper bound on the application payload size, as is defined in RFC 4340, section 14. Only the TX CCID is considered in setting this limit, since the RX CCID generates comparatively small (DCCP-Ack)

[PATCH 2/3] [CCID]: More informative registration

2007-12-13 Thread Arnaldo Carvalho de Melo
From: Gerrit Renker [EMAIL PROTECTED] The patch makes the registration messages of CCID 2/3 a bit more informative: instead of repeating the CCID number as currently done, CCID: Registered CCID 2 (ccid2) or CCID: Registered CCID 3 (ccid3), the descriptive names of the CCID's

[PATCH 1/3] [DCCP]: Documentation for CCID operations

2007-12-13 Thread Arnaldo Carvalho de Melo
From: Gerrit Renker [EMAIL PROTECTED] This adds documentation for the ccid_operations structure. Signed-off-by: Gerrit Renker [EMAIL PROTECTED] Signed-off-by: Ian McDonald [EMAIL PROTECTED] Signed-off-by: Arnaldo Carvalho de Melo [EMAIL PROTECTED] --- net/dccp/ccid.h | 35

[PATCHES 0/3]: DCCP patches for 2.6.25

2007-12-13 Thread Arnaldo Carvalho de Melo
Hi David, Please consider pulling from: master.kernel.org:/pub/scm/linux/kernel/git/acme/net-2.6.25 Best Regards, - Arnaldo net/dccp/ccid.c|8 net/dccp/ccid.h| 37 ++--- net/dccp/ccids/ccid2.c |2 +-

Re: [RFC] net: napi fix

2007-12-13 Thread Joonwoo Park
2007/12/13, Andrew Gallatin [EMAIL PROTECTED]: If the netif_running() check is indeed required to make a device break out of napi polling and respond to an ifconfig down, then I think the netif_running() check should be moved up into net_rx_action() to avoid potential for driver complexity

Re: 2.6.24-rc5-mm1

2007-12-13 Thread Herbert Xu
On Thu, Dec 13, 2007 at 09:45:54AM -0800, David Miller wrote: From: Benjamin Thery [EMAIL PROTECTED] Date: Thu, 13 Dec 2007 16:01:34 +0100 The problem comes from the new macro UDPX_INC_STATS_BH introduced by Herbert, which was a nice addition to increment the correct UDP MIB depending

Re: [PATCH 1/7] [NETDEV]: e1000 Fix possible causing oops of net_rx_action

2007-12-13 Thread Joonwoo Park
2007/12/13, David Miller [EMAIL PROTECTED]: From: Joonwoo Park [EMAIL PROTECTED] Date: Thu, 13 Dec 2007 19:18:56 +0900 Just blowing netif_running up is not best solution I think, it makes ifconfig down hang at least for e1000. It hangs because the packet receive rate is so high that NAPI

Re: [PATCH] PS3: gelic: Add wireless support for PS3

2007-12-13 Thread Masakazu Mokuno
On Thu, 13 Dec 2007 16:13:38 -0500 Dan Williams [EMAIL PROTECTED] wrote: One more question; does the driver work with wpa_supplicant for WPA, or does the firmware capture the EAPOL frames and handle the 4 way handshake internally? Ideally the firmware would have the ability to pass those

Re: [PATCH 2/2] ucc_geth: use rx-clock-name and tx-clock-name device tree properties

2007-12-13 Thread Kumar Gala
On Dec 3, 2007, at 3:17 PM, Timur Tabi wrote: Updates the ucc_geth device driver to check the new rx-clock-name and tx-clock-name properties first. If present, it uses the new function qe_clock_source() to obtain the clock source. Otherwise, it checks the deprecated rx-clock and tx-clock

Re: [PATCH] PS3: gelic: Add wireless support for PS3

2007-12-13 Thread Masakazu Mokuno
On Thu, 13 Dec 2007 10:33:22 -0500 Dan Williams [EMAIL PROTECTED] wrote: You'll need to emit more NULL IWAP events on association failure. For example, gelic_wl_assoc_worker() should probably send one right before both instances of 'goto scan_lock_out' in that function (the first where there

Re: [RFC] mac80211: clean up frame receive handling

2007-12-13 Thread Jouni Malinen
On Wed, Dec 12, 2007 at 07:24:04PM +0100, Johannes Berg wrote: This cleans up the frame receive handling. After this patch * EAPOL frames addressed to us or the EAPOL group address are always accepted regardless of whether they are encrypted or not * other frames from a station are

[BUG] Kernel Bugzilla: networking bugs

2007-12-13 Thread Natalie Protasevich
Hello, Here are few networking bugs from bugzilla.kernel.org. Could someone take a look please? Thanks! (net forcedeth) frequent network ups and downs http://bugzilla.kernel.org/show_bug.cgi?id=9200 Kernel: 2.6.23 00:07.0 Bridge: nVidia Corporation MCP61 Ethernet (rev a2) rtl8187 very unreliable

Re: [PATCH] PS3: gelic: Add wireless support for PS3

2007-12-13 Thread David Woodhouse
--- linux-2.6.23.ppc64/drivers/net/ps3_gelic_net.c~ 2007-12-14 01:31:50.0 -0500 +++ linux-2.6.23.ppc64/drivers/net/ps3_gelic_net.c 2007-12-14 01:39:25.0 -0500 @@ -1139,7 +1139,7 @@ static irqreturn_t gelic_card_interrupt( * * see

Re: [PATCH 2/2] ucc_geth: use rx-clock-name and tx-clock-name device tree properties

2007-12-13 Thread Jeff Garzik
Kumar Gala wrote: On Dec 3, 2007, at 3:17 PM, Timur Tabi wrote: Updates the ucc_geth device driver to check the new rx-clock-name and tx-clock-name properties first. If present, it uses the new function qe_clock_source() to obtain the clock source. Otherwise, it checks the deprecated

Re: [3/4] DST: Network state machine.

2007-12-13 Thread Evgeniy Polyakov
On Thu, Dec 13, 2007 at 11:43:43PM +0300, Dmitry Monakhov ([EMAIL PROTECTED]) wrote: On 14:47 Mon 10 Dec , Evgeniy Polyakov wrote: Network state machine. Includes network async processing state machine and related tasks. Hi, I've tried to play a little bit with DST and discover

Re: What was the reason for 2.6.22 SMP kernels to change how sendmsg is called?

2007-12-13 Thread Evgeniy Polyakov
Hi Kevin. On Thu, Dec 13, 2007 at 04:00:02PM -0600, Kevin Wilson ([EMAIL PROTECTED]) wrote: I see your point but it just so happens it is a GPL'd driver, as is all of our Linux code we produce for our hardware. Granted it is out of tree, and after you saw it you would want it to stay that

Re: 2.6.24-rc4-mm1 - BUG in tcp_fragment

2007-12-13 Thread Cedric Le Goater
Ilpo Järvinen wrote: On Thu, 13 Dec 2007, Cedric Le Goater wrote: I got this one while compiling on NFS. C. kernel BUG at /home/legoater/linux/2.6.24-rc4-mm1/include/net/tcp.h:1480! I'm not exactly sure what patches you have applied and which patches are not, with rc4-mm1 there are

[GIT PULL] [NET]: Use {hton{s,l},cpu_to_be{16,32}}() where appropriate.

2007-12-13 Thread YOSHIFUJI Hideaki / 吉藤英明
Hello. Please consider pulling the following changes from the branch net-2.6-dev-20071214 available at git://git.linux-ipv6.org/gitroot/yoshfuji/linux-2.6-dev.git which is on top of your net-2.6-devel tree. Regards, --- HEADLINES - [BRIDGE]: Use cpu_to_be16() where

Re: [PATCH 2/2] ucc_geth: use rx-clock-name and tx-clock-name device tree properties

2007-12-13 Thread Kumar Gala
On Dec 3, 2007, at 3:17 PM, Timur Tabi wrote: Updates the ucc_geth device driver to check the new rx-clock-name and tx-clock-name properties first. If present, it uses the new function qe_clock_source() to obtain the clock source. Otherwise, it checks the deprecated rx-clock and tx-clock

<    1   2