Re: [PATCHv2 net-next 1/8] skb: report completion status for zero copy skbs

2012-11-01 Thread David Miller
From: "Michael S. Tsirkin" Date: Wed, 31 Oct 2012 12:31:06 +0200 > -void vhost_zerocopy_callback(struct ubuf_info *ubuf) > +void vhost_zerocopy_callback(struct ubuf_info *ubuf, int zerocopy_status) If you're only reporting true/false values, even just for now, please use 'bool' for this. -- To u

Re: [PATCH/Resend] [trivial] net: sctp: Fix typo in net/sctp

2012-11-01 Thread David Miller
From: Masanari Iida Date: Thu, 1 Nov 2012 00:48:19 +0900 > Correct spelling typo in net/sctp/socket.c > > Signed-off-by: Masanari Iida > Acked-by: Vlad Yasevich Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kern

Re: [PATCHv2 net-next 1/8] skb: report completion status for zero copy skbs

2012-11-01 Thread David Miller
From: "Michael S. Tsirkin" Date: Thu, 1 Nov 2012 18:16:11 +0200 > Do you think it's over-engineering, or a good idea? Engineer what you need, not what you might need. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org

Re: [PATCHv3 net-next 0/8] enable/disable zero copy tx dynamically

2012-11-02 Thread David Miller
From: "Michael S. Tsirkin" Date: Thu, 1 Nov 2012 21:16:17 +0200 > > tun supports zero copy transmit since > 0690899b4d4501b3505be069b9a687e68ccbe15b, > however you can only enable this mode if you know your workload does not > trigger heavy guest to host/host to guest traffic - otherwise you >

Re: [PATCH 1/2] drivers/net/ethernet/nxp/lpc_eth.c: Call mdiobus_unregister before mdiobus_free

2012-11-02 Thread David Miller
From: Peter Senna Tschudin Date: Sun, 28 Oct 2012 17:12:00 +0100 > Based on commit b27393aecf66199f5ddad37c302d3e0cfadbe6c0 > > Calling mdiobus_free without calling mdiobus_unregister causes > BUG_ON(). This patch fixes the issue. > > The semantic patch that found this issue(http://coccinelle.l

Re: [PATCH 2/2] drivers/net/phy/mdio-bitbang.c: Call mdiobus_unregister before mdiobus_free

2012-11-02 Thread David Miller
From: Peter Senna Tschudin Date: Sun, 28 Oct 2012 17:12:01 +0100 > Based on commit b27393aecf66199f5ddad37c302d3e0cfadbe6c0 > > Calling mdiobus_free without calling mdiobus_unregister causes > BUG_ON(). This patch fixes the issue. > > The semantic patch that found this issue(http://coccinelle.l

Re: [PATCH] vmxnet3: must split too big fragments

2012-11-02 Thread David Miller
From: Eric Dumazet Date: Mon, 29 Oct 2012 18:30:49 +0100 > From: Eric Dumazet > > vmxnet3 has a 16Kbytes limit per tx descriptor, that happened to work > as long as we provided PAGE_SIZE fragments. > > Our stack can now build larger fragments, so we need to split them to > the 16kbytes boundar

Re: [PATCH 10/16] ethernet: Convert dev_printk(KERN_ to dev_(

2012-11-02 Thread David Miller
From: Joe Perches Date: Sun, 28 Oct 2012 01:05:48 -0700 > dev_ calls take less code than dev_printk(KERN_ > and reducing object size is good. > Coalesce formats for easier grep. > > Signed-off-by: Joe Perches I forgot the other day so indicate that I applied this to net-next, thanks. -- To uns

[GIT] Networking

2012-11-02 Thread David Miller
First post-Sandy pull request, here goes: 1) Fix antenna gain handling and initialization of chan->max_reg_power in wireless, from Felix Fietkau. 2) Fix nexthop handling in H.232 conntrack helper, from Julian Anastasov. 3) Only process 80211 mesh config header in certain kinds of frames,

Re: [PATCH] net/at91_ether: fix the use of macb structure

2012-11-03 Thread David Miller
From: Nicolas Ferre Date: Tue, 30 Oct 2012 12:30:28 +0100 > Due to the use of common structure in at91_ether and macb drivers, > change the name of DMA descriptor structures in at91_ether as well: > dma_desc => macb_dma_desc > > Signed-off-by: Nicolas Ferre This does not apply to net-next, res

Re: [PATCH 3/3] tipc: do not use tasklet_disable before tasklet_kill

2012-11-03 Thread David Miller
From: Xiaotian Feng Date: Wed, 31 Oct 2012 16:06:01 +0800 > If tasklet_disable() is called before related tasklet handled, > tasklet_kill will never be finished. tasklet_kill is enough. > > Signed-off-by: Xiaotian Feng Applied. -- To unsubscribe from this list: send the line "unsubscribe linux

Re: [PATCH] drivers/net: use tasklet_kill in device remove/close process

2012-11-03 Thread David Miller
From: Xiaotian Feng Date: Wed, 31 Oct 2012 18:29:57 +0800 > Some driver uses tasklet_disable in device remove/close process, > tasklet_disable will inc tasklet->count and return. If the tasklet > is not handled yet because some softirq pressure, the tasklet will > placed on the tasklet_vec, never

Re: [PATCH v2] r8169: Fix WoL on RTL8168d/8111d.

2012-11-03 Thread David Miller
From: Francois Romieu Date: Thu, 1 Nov 2012 23:21:13 +0100 > Cyril Brulebois : >> This regression was spotted between Debian squeeze and Debian wheezy >> kernels (respectively based on 2.6.32 and 3.2). More info about >> Wake-on-LAN issues with Realtek's 816x chipsets can be found in the >> foll

Re: [PATCH] [trivial] net: bnx2x: Fix typo in bnx2x driver

2012-11-03 Thread David Miller
From: Masanari Iida Date: Fri, 2 Nov 2012 23:36:17 +0900 > Correct spelling typo in bnx2x driver > > Signed-off-by: Masanari Iida Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at h

Re: [PATCH 10/16] drivers/net/ethernet/ibm/emac/mal.c: use WARN

2012-11-03 Thread David Miller
From: Julia Lawall Date: Sat, 3 Nov 2012 11:58:31 +0100 > From: Julia Lawall > > Use WARN rather than printk followed by WARN_ON(1), for conciseness. > > A simplified version of the semantic patch that makes this transformation > is as follows: (http://coccinelle.lip6.fr/) ... > Signed-off-b

Re: [PATCH] atp: remove set_rx_mode_8012()

2012-11-03 Thread David Miller
From: Paul Bolle Date: Sat, 03 Nov 2012 10:53:15 +0100 > Building atp.o triggers this GCC warning: > drivers/net/ethernet/realtek/atp.c: In function ‘set_rx_mode’: > drivers/net/ethernet/realtek/atp.c:871:26: warning: ‘mc_filter[0]’ may be > used uninitialized in this function [-Wuniniti

Re: [PATCH 9/9] Avoid 'statement with no effect' compiler warnings

2012-11-03 Thread David Miller
From: Lee Jones Date: Sat, 3 Nov 2012 23:02:30 +0100 > Instead of issuing (0) statements when !CONFIG_SYSFS which will cause > 'warning: ', we'll use inline statements instead. This will effectively > do the same thing, but suppress any unnecessary warnings. > > Cc: Stephen Hemminger > Cc: bri

Re: [PATCH v2 net-next] r8169: enable internal ASPM and clock request settings

2012-11-03 Thread David Miller
From: Hayes Wang Date: Fri, 2 Nov 2012 10:46:28 +0800 > The following chips need to enable internal settings to let ASPM > and clock request work. > > RTL8111E-VL, RTL8111F, RTL8411, RTL8111G > RTL8105, RTL8402, RTL8106 > > Signed-off-by: Hayes Wang Francois? -- To unsubscribe from this list:

Re: [PATCH v2 net-next] r8169: enable internal ASPM and clock request settings

2012-11-04 Thread David Miller
From: Francois Romieu Date: Sun, 4 Nov 2012 10:17:52 +0100 > David Miller : > [...] >> Francois? > > Please apply. Done, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org

Re: [PATCH 8/9] isdn: Remove unused variable causing a compile build warning

2012-11-04 Thread David Miller
From: Lee Jones Date: Sun, 4 Nov 2012 11:53:32 +0100 > On Sun, 04 Nov 2012, Paul Bolle wrote: > >> On Sat, 2012-11-03 at 23:48 +0100, Lee Jones wrote: >> > On Sat, 03 Nov 2012, Paul Bolle wrote: >> > > On Sat, 2012-11-03 at 23:02 +0100, Lee Jones wrote: >> > > > This patch fixes: >> > > > driver

Re: [PATCH] crypto: picoxcell: Add terminating entry for platform_device_id table

2012-11-04 Thread David Miller
From: Axel Lin Date: Sun, 04 Nov 2012 23:36:25 +0800 > The platform_device_id table is supposed to be zero-terminated. > > Signed-off-by: Axel Lin Acked-by: David S. Miller -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.ke

Re: [PATCH] vlan: set sysfs device_type to 'vlan'

2012-11-04 Thread David Miller
From: Doug Goldstein Date: Sun, 4 Nov 2012 23:45:56 -0600 > As Ben Greear pointed out this would allow shell scripts and other > scripting languages to better detect vlans. Kay pointed out that this > would allow better uevent filters in the future as well. So there are > some merits to this patc

Re: [PATCH] vlan: set sysfs device_type to 'vlan'

2012-11-04 Thread David Miller
From: Doug Goldstein Date: Mon, 5 Nov 2012 00:19:19 -0600 > By this argument we shouldn't ever improve any API or add new syscalls > since we'll have to have fallback code to handle the old interfaces > when the new ones aren't available. It makes sense to add new APIs when existing mechanisms a

Re: [PATCH RFC] pkt_sched: enable QFQ to support TSO/GSO

2012-11-05 Thread David Miller
From: Cong Wang Date: Mon, 5 Nov 2012 16:41:49 +0800 > On Tue, Oct 30, 2012 at 10:24 PM, Stephen Hemminger > wrote: >> On Tue, 30 Oct 2012 07:00:56 +0100 >> Paolo Valente wrote: >> >>> Hi, >>> if the max packet size for some class (configured through tc) is >>> violated by the actual size of th

Re: [PATCH 8/9] isdn: Remove unused variable causing a compile build warning

2012-11-05 Thread David Miller
From: Lee Jones Date: Mon, 5 Nov 2012 09:44:19 +0100 > On Sun, 04 Nov 2012, David Miller wrote: > >> From: Lee Jones >> Date: Sun, 4 Nov 2012 11:53:32 +0100 >> >> > On Sun, 04 Nov 2012, Paul Bolle wrote: >> > >> >> On Sat, 2012-11-03 a

Re: [PATCH 0/6] VSOCK for Linux upstreaming

2012-11-05 Thread David Miller
The big and only question is whether anyone can actually use any of this stuff without your proprietary bits? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-in

Re: [PATCH 0/6] VSOCK for Linux upstreaming

2012-11-05 Thread David Miller
From: David Miller Date: Mon, 05 Nov 2012 13:09:17 -0500 (EST) > The big and only question is whether anyone can actually use any of > this stuff without your proprietary bits? And BTW vm-crosst...@vmware.com bounces, take it out of the CC: list on all future emails. -- To unsubscribe fro

Re: [PATCH] bcma: fix regression in pmu workaround reg masks

2012-07-26 Thread David Miller
From: Hauke Mehrtens Date: Thu, 26 Jul 2012 11:15:51 +0200 > This fixes a regression introduced in: > commit b9562545ef0b13c0440ccd8d6dd4111fb77cb17a > Author: Hauke Mehrtens > Date: Sat Jun 30 01:44:41 2012 +0200 > > bcma: complete workaround for BCMA43224 and BCM4313 > > The regression

[GIT] Networking

2012-07-26 Thread David Miller
1) Reinstate the no-ref optimization for input route lookups in ipv4 to fix some routing cache removal perf regressions. 2) Make TCP socket pre-demux work on ipv6 side too, from Eric Dumazet. 3) Get RX hash value from correct place in be2net driver, from Sarveshwar Bandi. 4) Validation of

[GIT] Sparc

2012-07-26 Thread David Miller
Nothing much this merge window for sparc. 1) Fix FPU state management in sparc32, from Tkhai Kirill. 2) More sparc32 mm layer code cleanups, largely more side effects of the sun4c support removal in the 3.5 From Sam Ravnborg. 3) Remove unused code in sparc64, from Bjorn Helgaas and Kirill T

Re: [PATCH] tcp: perform DMA to userspace only if there is a task waiting for it

2012-07-27 Thread David Miller
From: Jiri Kosina Date: Fri, 27 Jul 2012 16:05:06 +0200 (CEST) > #ifdef CONFIG_NET_DMA > - if (tcp_dma_try_early_copy(sk, skb, > tcp_header_len)) { > + if (tp->ucopy.task == current && > + sock_o

Re: [PATCH] of: drop of_pdt_build_more in pdt.c

2012-07-27 Thread David Miller
From: Sam Ravnborg Date: Fri, 27 Jul 2012 13:40:09 +0200 > From bc1fde5cacff425c4bddc061a72e52d3ecb9eeb2 Mon Sep 17 00:00:00 2001 > From: Sam Ravnborg > Date: Fri, 27 Jul 2012 13:34:54 +0200 > Subject: [PATCH] of: drop of_pdt_build_more in pdt.c > > It is no longer used - as the sparc usage was

Re: [PATCH v2] tcp: perform DMA to userspace only if there is a task waiting for it

2012-07-27 Thread David Miller
From: Jiri Kosina Date: Fri, 27 Jul 2012 22:38:50 +0200 (CEST) > Back in 2006, commit 1a2449a87b ("[I/OAT]: TCP recv offload to I/OAT") > added support for receive offloading to IOAT dma engine if available. > > The code in tcp_rcv_established() tries to perform early DMA copy if > applicable. I

Re: pull request: wireless 2012-07-27

2012-07-27 Thread David Miller
From: "John W. Linville" Date: Fri, 27 Jul 2012 11:58:06 -0400 > These fixes are intended for the 3.6 stream. > > Hauke Mehrtens provides a pair of bcma fixes, one to fix a build > regression on mips and another to correct a pair of missing iounmap > calls. > > Thomas Huehn offers a mac80211_hw

[GIT] Networking

2012-07-28 Thread David Miller
Several bug fixes, some to new features appearing in this merge window, some that have been around for a while. I have a short list of known problems that need to be sorted out, but all of them can be solved easily during the run up to 3.6-final. I'll be offline until Sunday afternoon, but nothi

[GIT] Networking

2012-07-31 Thread David Miller
I think Eric Dumazet and I have dealt with all of the known routing cache removal fallout. Some other minor fixes all around. 1) Fix RCU of cached routes, particular of output routes which require liberation via call_rcu() instead of call_rcu_bh(). From Eric Dumazet. 2) Make sure we purge

Re: [PATCH net-next] net1080: Neaten netdev_dbg use

2012-09-20 Thread David Miller
From: Joe Perches Date: Thu, 20 Sep 2012 17:10:23 -0700 > Remove unnecessary temporary variable and #ifdef DEBUG block. > > Signed-off-by: Joe Perches Applied, thanks Joe. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kern

Re: [PATCH 0/2] do not disable sg when packet requires no checksum

2012-09-20 Thread David Miller
From: Ed Cashin Date: Wed, 19 Sep 2012 18:46:07 -0700 > This two-part patchset replaces an earlier net-only patch that > added an explicit check for the AoE protocol to harmonize_features > in net/core/dev.c. > > Following the suggestions of Ben Hutchings, this patchset makes > the decision in t

Re: [PATCH] rds: Error on offset mismatch if not loopback

2012-09-21 Thread David Miller
From: John Jolly Date: Thu, 20 Sep 2012 01:11:34 -0600 > Attempting an rds connection from the IP address of an IPoIB interface > to itself causes a kernel panic due to a BUG_ON() being triggered. Making > the test less strict allows rds-ping to work without crashing the machine. > > A local unp

Re: [PATCH v2] ipconfig: add nameserver IPs to kernel-parameter ip=

2012-09-21 Thread David Miller
From: Christoph Fritz Date: Thu, 20 Sep 2012 23:48:50 +0200 > diff --git a/Documentation/filesystems/nfs/nfsroot.txt > b/Documentation/filesystems/nfs/nfsroot.txt > index ffdd9d8..4ed7875 100644 > --- a/Documentation/filesystems/nfs/nfsroot.txt > +++ b/Documentation/filesystems/nfs/nfsroot.txt >

Re: [PATCH] mISDN: suppress compiler warning

2012-09-21 Thread David Miller
From: Paul Bolle Date: Fri, 21 Sep 2012 12:25:24 +0200 > Building the hfcpci driver triggers this GCC warning: > drivers/isdn/hardware/mISDN/hfcpci.c:2298:2: warning: ignoring return > value of 'driver_for_each_device', declared with attribute warn_unused_result > [-Wunused-result] > > Tha

Re: [RFC v3 1/2] PCI-Express Non-Transparent Bridge Support

2012-09-21 Thread David Miller
From: Jon Mason Date: Fri, 21 Sep 2012 11:09:48 -0700 > A PCI-Express non-transparent bridge (NTB) is a point-to-point PCIe bus > connecting 2 systems, providing electrical isolation between the two > subsystems. > A non-transparent bridge is functionally similar to a transparent bridge > excep

Re: [PATCH v3] ipconfig: add nameserver IPs to kernel-parameter ip=

2012-09-21 Thread David Miller
From: Christoph Fritz Date: Fri, 21 Sep 2012 20:31:19 +0200 > On small systems (e.g. embedded ones) IP addresses are often configured > by bootloaders and get assigned to kernel via parameter "ip=". If set to > "ip=dhcp", even nameserver entries from DHCP daemons are handled. These > entries exp

Re: linux-next: manual merge of the net-next tree with the net tree

2012-09-21 Thread David Miller
From: Stephen Rothwell Date: Fri, 21 Sep 2012 11:30:09 +1000 > Today's linux-next merge of the net-next tree got a conflict in > drivers/net/usb/qmi_wwan.c between commit 9db273f45686 ("net: > qmi_wwan: adding Huawei E367, ZTE MF683 and Pantech P4200") from the > net tree and commit bd877e489126

[GIT] Sparc

2012-09-21 Thread David Miller
1) Debugging builds on 32-bit sparc need to handle the R_SPARC_DISP32 relocation, not just 64-bit sparc. From Andreas Larsson. 2) Wei Yongjun noticed that module_alloc() on sparc can return an error pointer, but that's not allowed. module_alloc() should return only a valid pointer, or

[GIT] Networking

2012-09-21 Thread David Miller
More bug fixes, nothing gets past these guys: 1) More kernel info leaks found by Mathias Krause, this time in the IPSEC configuration layers. 2) When IPSEC policies change, we do not properly make sure that cached routes (which could now be stale) throughout the system will be revalidat

Re: [PATCH] rds: Error on offset mismatch if not loopback

2012-09-22 Thread David Miller
From: John Jolly Date: Fri, 21 Sep 2012 15:32:40 -0600 > Attempting an rds connection from the IP address of an IPoIB interface > to itself causes a kernel panic due to a BUG_ON() being triggered. > Making the test less strict allows rds-ping to work without crashing > the machine. > > A local u

Re: [PATCH] net/phy/bcm87xx: Add MODULE_LICENSE("GPL") to GPL driver

2012-09-22 Thread David Miller
From: Peter Huewe Date: Sat, 22 Sep 2012 04:44:18 +0200 > Currently the driver has no MODULE_LICENSE attribute in its source which > results in a kernel taint if I load this: > > root@(none):~# modprobe bcm87xx > bcm87xx: module license 'unspecified' taints kernel. > > Since the first lines of

Re: pull request: wireless 2012-09-22

2012-09-22 Thread David Miller
From: "John W. Linville" Date: Sat, 22 Sep 2012 13:13:42 -0400 > Please pull this last(?) batch of fixes intended for 3.6... > > For the Bluetooth bits, Gustavo says this: > > "Here goes probably my last update to 3.6. It includes the two patches > you were ok last week(from Andrzej Kaczmarek),

Re: [PATCH] pppoe: drop PPPOX_ZOMBIEs in pppoe_release

2012-09-22 Thread David Miller
From: Xiaodong Xu Date: Sat, 22 Sep 2012 18:09:32 +0800 > From: Xiaodong Xu > > When PPPOE is running over a virtual ethernet interface (e.g., a > bonding interface) and the user tries to delete the interface in case > the PPPOE state is ZOMBIE, the kernel will loop forever while > unregisterin

Re: [PATCH net-next v1] net: use a per task frag allocator

2012-09-22 Thread David Miller
From: Eric Dumazet Date: Fri, 21 Sep 2012 23:11:11 +0200 > On Fri, 2012-09-21 at 13:27 -0700, Vijay Subramanian wrote: >> I get the following compile error with the newer version of the patch >> >> net/sched/em_meta.c: In function ‘meta_int_sk_sendmsg_off’: >> net/sched/em_meta.c:464: error: ‘st

Re: linux-next: build failure after merge of the final tree (net-next tree related)

2012-09-22 Thread David Miller
From: Benjamin Herrenschmidt Date: Sat, 22 Sep 2012 07:46:40 +1000 > Right, but on ppc, GFP_DMA is a nop (no separate ZONE_DMA, or rather all > of memory is ZONE_DMA). It's always been like that afaik. > > We could support ISA device limited addressability using the iommu but > that would involv

Re: [PATCH 1/2] Fix build error caused by broken PCH_PTP module dependency.

2012-09-24 Thread David Miller
Please post all networking patches to net...@vger.kernel.org Thank you. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http:

Re: [PATCH] net: scm: moving dereference after NULL check

2012-09-24 Thread David Miller
From: "Maxin B. John" Date: Sun, 23 Sep 2012 13:03:30 -0400 > scm_destroy_cred() dereferences 'scm' before null check > > Signed-off-by: Maxin B. John Every caller of scm_destroy() passes a non-NULL scm, so the NULL test can be removed entirely. I'll do this in net-next, thanks. -- To unsubsc

Re: linux-next: manual merge of the net-next tree with the net tree

2012-09-24 Thread David Miller
From: Eric Dumazet Date: Tue, 25 Sep 2012 07:10:42 +0200 > Oops, my bad, net/ipv4/raw.c changes in 5640f7685831 ("net: use a per > task frag allocator") should not be there : > > I accidentally left a debugging version of the patch I sent to fix the > icmp bug. > > Sorry David for this, I am no

Re: [PATCH net-next] net: raw: revert unrelated change

2012-09-25 Thread David Miller
From: Eric Dumazet Date: Tue, 25 Sep 2012 08:21:16 +0200 > From: Eric Dumazet > > Commit 5640f7685831 ("net: use a per task frag allocator") > accidentally contained an unrelated change to net/ipv4/raw.c, > later committed (without the pr_err() debugging bits) in > net tree as commit ab43ed8b74

[GIT] Networking

2012-09-25 Thread David Miller
1) Eric Dumazet discovered and fixed what turned out to be a family of bugs. These functions were using pskb_may_pull() which might need to reallocate the linear SKB data buffer, but the callers were not expecting this possibility. The callers have cached pointers to the packet heade

Re: [PATCH 0/3] Optimize CRC32C calculation using PCLMULQDQ in crc32c-intel module

2012-09-26 Thread David Miller
From: Tim Chen Date: Tue, 25 Sep 2012 14:50:08 -0700 > This patch series optimized CRC32C calculations with PCLMULQDQ > instruction for crc32c-intel module. It speeds up the original > implementation by 1.6x for 1K buffer and by 3x for buffer 4k or > more. The tcrypt module was enhanced for doi

Re: [PATCH] drivers: phy: add generic PHY framework

2012-09-26 Thread David Miller
All networking patches must be submitted to net...@vger.kernel.org Thank you. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

Re: [PATCH v2 0/9] net/macb: driver enhancement concerning GEM support, ring logic and cleanup

2012-10-26 Thread David Miller
From: Nicolas Ferre Date: Fri, 26 Oct 2012 17:25:08 +0200 > David, > > On 09/19/2012 01:55 PM, Nicolas Ferre : >> This is an enhancement work that began several years ago. I try to catchup >> with >> some performance improvement that has been implemented then by Havard. >> The ring index logic

Re: [PATCH RFT RESEND linux-next] sparc: dma-mapping: support debug_dma_mapping_error

2012-10-26 Thread David Miller
From: Shuah Khan Date: Fri, 26 Oct 2012 10:13:09 -0600 > Add support for debug_dma_mapping_error() call to avoid warning from > debug_dma_unmap() interface when it checks for mapping error checked > status. Without this patch, device driver failed to check map error > warning is generated. > > S

Re: pull request: wireless 2012-10-26

2012-10-26 Thread David Miller
From: "John W. Linville" Date: Fri, 26 Oct 2012 11:21:13 -0400 > This is a batch of fixes intended for the 3.7 stream. > > Bing Zhao brings two mwifiex fixes, both continuing to fix some scanning > failure cases. > > Christian Lamparter provides an rtlwifi fix to properly propogate an > error c

Re: [PATCH RFT RESEND linux-next] sparc: dma-mapping: support debug_dma_mapping_error

2012-10-26 Thread David Miller
From: David Miller Date: Fri, 26 Oct 2012 15:01:53 -0400 (EDT) > From: Shuah Khan > Date: Fri, 26 Oct 2012 10:13:09 -0600 > >> Add support for debug_dma_mapping_error() call to avoid warning from >> debug_dma_unmap() interface when it checks for mapping error checked &g

[GIT] Networking

2012-10-26 Thread David Miller
This is what we usually expect at this stage of the game, lots of little things, mostly in drivers. With the occaisional "oops didn't mean to do that" kind of regressions in the core code. 1) Uninitialized data in __ip_vs_get_timeouts(), from Arnd Bergmann 2) Reject invalid ACK sequences in Fas

Re: linux-next: manual merge of the signal tree with the sparc tree

2012-10-28 Thread David Miller
From: Stephen Rothwell Date: Mon, 29 Oct 2012 14:00:32 +1100 > Today's linux-next merge of the signal tree got a conflict in > arch/sparc/kernel/sys_sparc_64.c between commit 517ffce4e1a0 ("sparc64: > Make montmul/montsqr/mpmul usable in 32-bit threads") from the sparc tree > and commit 2f12af35a

Re: [net-next v4 0/7] Multiqueue support in tuntap

2012-10-28 Thread David Miller
Many sites rejected your emails because they had two To: headers. Please repost this without that problem so people can actually receive it. Thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo inf

Re: [PATCH] bonding: fix bond-6-mode change MAC of arp reply from vif to cause Domu's network unreachable intermittently

2012-10-29 Thread David Miller
From: "zheng.li" Date: Mon, 29 Oct 2012 17:11:28 +0800 > @@ -700,7 +700,18 @@ static struct slave *rlb_arp_xmit(struct sk_buff > *skb, struct bonding *bond) You commit message is poorly formatted and your email client corrupted the patch, making it completely unusable. -- To unsubscribe from thi

Re: [PATCH 0/6] Calxeda xgmac performance fixes

2012-10-29 Thread David Miller
From: Rob Herring Date: Mon, 29 Oct 2012 12:52:39 -0500 > David, > > On 10/12/2012 10:15 AM, Rob Herring wrote: >> From: Rob Herring >> >> This is a series of performance improvements to the xgmac driver. The most >> significant changes are the alignment fixes to avoid alignment traps on >> re

Re: [PATCH 0/2] Rename nsproxy.pid_ns and fix a related security bug

2013-08-26 Thread David Miller
From: Andy Lutomirski Date: Thu, 22 Aug 2013 11:39:14 -0700 > commit 92f28d973cce45ef5823209aab3138eb45d8b349 > Author: Eric W. Biederman > Date: Fri Mar 15 01:03:33 2013 -0700 > > scm: Require CAP_SYS_ADMIN over the current pidns to spoof pids. > > Eric fell for my bogus

Re: [PATCH 0/2] net/cadence/macb: add support for dt phy definition

2013-08-26 Thread David Miller
From: Boris BREZILLON Date: Thu, 22 Aug 2013 17:56:20 +0200 > This patch series adds support for ethernet phy definition using device > tree. > > This may help in moving some at91 boards to dt (some of them define an > interrupt pin). > > Tested on samad31ek. Series applied to net-next, thanks

Re: [PATCH RESEND V3 net-next 2/3] net: huawei_cdc_ncm: Introduce the huawei_cdc_ncm driver

2013-08-26 Thread David Miller
From: Enrico Mioso Date: Fri, 23 Aug 2013 09:56:29 +0200 > + if ((on && atomic_add_return(1, &drvstate->pmcount) == 1) || (!on && > atomic_dec_and_test(&drvstate->pmcount))) { These line significantly exceeds 80 columns. > + subdriver = usb_cdc_wdm_register(ctx->control, > +

Re: [PATCH RESEND V3 net-next 2/3] net: huawei_cdc_ncm: Introduce the huawei_cdc_ncm driver

2013-08-26 Thread David Miller
From: Joe Perches Date: Mon, 26 Aug 2013 13:45:13 -0700 > I think the premise of local variable > declaration by line length is flawed. I disagree. > It can't work when local variables are > dependent on initialization order as > above. Move the initialization below the declarations. -- To uns

Re: [PATCH RESEND V3 net-next 2/3] net: huawei_cdc_ncm: Introduce the huawei_cdc_ncm driver

2013-08-26 Thread David Miller
From: Joe Perches Date: Mon, 26 Aug 2013 14:05:55 -0700 > On Mon, 2013-08-26 at 16:58 -0400, David Miller wrote: >> From: Joe Perches >> Date: Mon, 26 Aug 2013 13:45:13 -0700 >> >> > I think the premise of local variable >> > declaration by line length is

Re: [PATCH 0/2] net/cadence/macb: add support for dt phy definition

2013-08-27 Thread David Miller
From: boris brezillon Date: Tue, 27 Aug 2013 09:42:34 +0200 > Could you apply, the 3rd version of this series instead ? There can never be an "instead" or reverting patches I've said I've applied already. If you want changes, you have to submit follow-on fixes. -- To unsubscribe from this list:

Re: [PATCH 0/2] net/cadence/macb: add support for dt phy definition

2013-08-27 Thread David Miller
From: boris brezillon Date: Tue, 27 Aug 2013 18:38:52 +0200 > On 27/08/2013 18:20, David Miller wrote: >> From: boris brezillon >> Date: Tue, 27 Aug 2013 09:42:34 +0200 >> >>> Could you apply, the 3rd version of this series instead ? >> There can never be an

Re: [PATCH 0/2] Rename nsproxy.pid_ns and fix a related security bug

2013-08-27 Thread David Miller
From: Andy Lutomirski Date: Thu, 22 Aug 2013 11:39:14 -0700 > Eric fell for my bogus claim that nsproxy->pid_ns was the current' > process's pid ns. This isn't true. > > Let's fix the bug and rename pid_ns so that no one gets this wrong again. > > Signed-off-by: Andy Lutomirski Series applie

Re: pull request: wireless 2013-08-23

2013-08-27 Thread David Miller
From: "John W. Linville" Date: Fri, 23 Aug 2013 12:20:44 -0400 > This is one more set of fixes intended for the 3.11 stream... > > For the mac80211 bits, Johannes says: > > "I have three more patches for the 3.11 stream: Felix's fix for the > fairly visible brcmsmac crash, a fix from Simon for

Re: [PATCH] VMXNET3: Add support for virtual IOMMU

2013-08-27 Thread David Miller
From: Andy King Date: Fri, 23 Aug 2013 09:33:49 -0700 > This patch adds support for virtual IOMMU to the vmxnet3 module. We > switch to DMA consistent mappings for anything we pass to the device. > There were a few places where we already did this, but using pci_blah(); > these have been fixed t

Re: [guv 12/16] sparc: __get_cpu_var conversion

2013-08-27 Thread David Miller
From: Christoph Lameter Date: Fri, 23 Aug 2013 19:02:13 + > Signed-off-by: Christoph Lameter Acked-by: David S. Miller -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel

Re: [PATCH] USB2NET : SR9700 : One chip USB 1.1 USB2NET SR9700 Device Driver Support

2013-08-28 Thread David Miller
From: liujunliang_...@163.com Date: Sat, 24 Aug 2013 19:26:00 +0800 > From: liujl Your proper name is not "liujl", please put something more reasonable here and also in your Signoff. Also, integrate Joe Perches's white space fixes into this patch as part of your resubmission. Thank you. -- To

Re: [PATCH net] net: add cpu_relax to busy poll loop

2013-08-28 Thread David Miller
From: Eliezer Tamir Date: Sun, 25 Aug 2013 10:23:46 +0300 > Add a cpu_relaxt to sk_busy_loop. > > Julie Cummings reported performance issues when hyperthreading is on. > Arjan van de Ven observed that we should have a cpu_relax() in the > busy poll loop. > > Reported-by: Julie Cummings > Signe

Re: [PATCH] net: xilinx: fix memleak

2013-08-28 Thread David Miller
From: Libo Chen Date: Mon, 26 Aug 2013 11:30:55 +0800 > > decrease device_node refcount np1 in err case. > > Signed-off-by: Libo Chen Applied, thank you. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majo

Re: [PATCH] bridge: separate querier and query timer into IGMP/IPv4 and MLD/IPv6 ones

2013-08-28 Thread David Miller
From: Linus Lüssing Date: Mon, 26 Aug 2013 12:01:06 +0200 > Currently we would still potentially suffer multicast packet loss if there > is just either an IGMP or an MLD querier: For the former case, we would > possibly drop IPv6 multicast packets, for the latter IPv4 ones. This is > because we a

Re: [PATCH v2] ll_temac: Reset dma descriptors indexes on ndo_open

2013-10-01 Thread David Miller
From: Ricardo Ribalda Delgado Date: Tue, 1 Oct 2013 08:17:10 +0200 > The dma descriptors indexes are only initialized on the probe function. > > If a packet is on the buffer when temac_stop is called, the dma > descriptors indexes can be left on a incorrect state where no other > package can be

[GIT] Networking

2013-10-01 Thread David Miller
1) Multiply in netfilter IPVS can overflow when calculating destination weight. From Simon Kirby. 2) Use after free fixes in IPVS from Julian Anastasov. 3) SFC driver bug fixes from Daniel Pieczko. 4) Memory leak in pcan_usb_core failure paths, from Alexey Khoroshilov. 5) Locking and encap

[GIT] Sparc

2013-10-01 Thread David Miller
Just a single bug fix to a regression added during some strlcpy() conversions. Please pull, thanks a lot! The following changes since commit 6cac446bd37d9381815fe4c2b0e7b1fd1085000c: Merge tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging (2013-09-27

[PATCH] Fix generic hugetlb pte check return type.

2013-10-02 Thread David Miller
The include/asm-generic/hugetlb.h stubs that just vector huge_pte_*() calls to the pte_*() implementations won't work in certain situations. x86 and sparc, for example, return "unsigned long" from the bit checks, and just go "return pte_val(pte) & PTE_BIT_FOO;" But since huge_pte_*() returns 'in

Re: [PATCH] isdn: eicon: free pointer after using it in log msg in divas_um_idi_delete_entity()

2013-10-02 Thread David Miller
From: Jesper Juhl Date: Mon, 30 Sep 2013 21:25:27 +0200 (CEST) > Not really a problem, but nice IMHO; the Coverity static analyzer > complains that we use the pointer 'e' after it has been freed, so move > the freeing below the final use, even if that use is just using the > value of the pointer

Re: [PATCH 0/3] calxedaxgmac: fixes for xgmac_set_rx_mode

2013-10-02 Thread David Miller
From: Rob Herring Date: Mon, 30 Sep 2013 15:12:14 -0500 > This is a couple of fixes related to xgmac_set_rx_mode. The changes are > necessary for "bridge fdb add" to work correctly. Series applied, thanks Rob. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: [PATCH 07/11] igb: Avoid uninitialized advertised variable in eee_set_cur

2013-10-02 Thread David Miller
From: Andi Kleen Date: Mon, 30 Sep 2013 13:29:08 -0700 > From: Andi Kleen > > eee_get_cur assumes that the output data is already zeroed. It can > read-modify-write the advertised field: > > if (ipcnfg & E1000_IPCNFG_EEE_100M_AN) > 2594 edata->advertised |= ADVER

Re: [PATCH 10/11] tcp: Always set options to 0 before calling tcp_established_options

2013-10-02 Thread David Miller
From: Andi Kleen Date: Mon, 30 Sep 2013 13:29:11 -0700 > From: Andi Kleen > > tcp_established_options assumes opts->options is 0 before calling, > as it read modify writes it. > > For the tcp_current_mss() case the opts structure is not zeroed, > so this can be done with uninitialized values.

Re: [PATCH V3 net-next] fib_trie: avoid a redundant bit judgement in inflate

2013-10-02 Thread David Miller
From: baker.ker...@gmail.com Date: Tue, 1 Oct 2013 07:45:09 +0800 > From: "baker.zhang" > > Because 'node' is the i'st child of 'oldnode', > thus, here 'i' equals > tkey_extract_bits(node->key, oldtnode->pos, oldtnode->bits) > > we just get 1 more bit, > and need not care the detail value of t

Re: [PATCH net-next] net:drivers/net: Miscellaneous conversions to ETH_ALEN

2013-10-02 Thread David Miller
From: Joe Perches Date: Tue, 01 Oct 2013 19:04:40 -0700 > Convert the memset/memcpy uses of 6 to ETH_ALEN > where appropriate. > > Also convert some struct definitions and u8 array > declarations of [6] to ETH_ALEN. > > Signed-off-by: Joe Perches Looks fine, applied, thanks Joe. -- To unsubsc

Re: [PATCH] netif_set_xps_queue: make cpu mask const

2013-10-02 Thread David Miller
From: "Michael S. Tsirkin" Date: Wed, 2 Oct 2013 09:14:06 +0300 > virtio wants to pass in cpumask_of(cpu), make parameter > const to avoid build warnings. > > Signed-off-by: Michael S. Tsirkin Refresh my memory, is to accomodate a change you want to submit to 'net' or 'net-next'? This patch o

Re: [PATCH 0/3] net: mv643xx_eth: various small fixes for v3.12

2013-10-02 Thread David Miller
From: Sebastian Hesselbarth Date: Wed, 2 Oct 2013 12:57:19 +0200 > This patch set comprises some one-liners to fix issues with repeated > loading and unloading of a modular mv643xx_eth driver. > > First two patches take care of the periodic port statistic timer, that > updates statistics by rea

Re: [PATCH] Fix generic hugetlb pte check return type.

2013-10-02 Thread David Miller
From: David Rientjes Date: Wed, 2 Oct 2013 15:34:48 -0700 (PDT) > On Wed, 2 Oct 2013, David Miller wrote: > > Acked-by: David Rientjes > >> --- >> >> Anyone mind if I push this through the sparc tree? >> > > Makes sense since it's the o

Re: [PATCH] sparc: remove deprecated IRQF_DISABLED

2013-10-02 Thread David Miller
From: Michael Opdenacker Date: Sat, 7 Sep 2013 09:38:09 +0200 > This patch proposes to remove the IRQF_DISABLED flag from sparc architecture > code. It's a NOOP since 2.6.35 and it will be removed one day. > > Signed-off-by: Michael Opdenacker Applied. -- To unsubscribe from this list: send t

Re: [PATCH] sparc: fix MSI build failure on Sparc32

2013-10-02 Thread David Miller
From: Guenter Roeck Date: Wed, 11 Sep 2013 06:40:12 -0700 > On 09/11/2013 03:32 AM, Thomas Petazzoni wrote: >> Commit ebd97be635 ('PCI: remove ARCH_SUPPORTS_MSI kconfig option') >> removes the ARCH_SUPPORTS_MSI Kconfig option that allowed >> architectures to indicate whether they support PCI MSI

[GIT] Sparc

2013-10-02 Thread David Miller
master for you to fetch changes up to a988fb806d72d4e3a0edbeaece3f2f1172ce44b8: sparc: fix MSI build failure on Sparc32 (2013-10-02 20:02:35 -0400) David Miller (1): mm: Fix generic hugetlb pte check return type. Kees Cook

Re: [PATCH 1/1] hso: fix problem with wrong status code sent by OPTION GTM601 during RING indication

2013-10-03 Thread David Miller
From: "Dr. H. Nikolaus Schaller" Date: Wed, 2 Oct 2013 09:00:18 +0200 > From f5c7e15b61f2ce4fe3105ff914f6bfaf5d74af0d Mon Sep 17 00:00:00 2001 > From: "H. Nikolaus Schaller" > Date: Thu, 15 Nov 2012 14:40:57 +0100 > Subject: [PATCH 1/1] hso: fix problem with wrong status code sent by OPTION > G

<    1   2   3   4   5   6   7   8   9   10   >