Re: [PATCH v3] vsock: fix missing cleanup when misc_register failed

2015-10-18 Thread Gao feng
I'm sorry too, fell free to ignore my patch, Thanks. 2015-10-19 9:50 GMT+08:00 David Miller : > From: Gao feng > Date: Sun, 18 Oct 2015 23:35:56 +0800 > >> reset transport and unlock if misc_register failed. >> >> Signed-off-by: Gao feng

Re: [PATCH] net: hix5hd2_gmac: avoid integer overload warning

2015-10-18 Thread David Miller
From: Arnd Bergmann Date: Fri, 16 Oct 2015 12:00:51 +0200 > BITS_RX_EN is an 'unsigned long' constant, so the ones complement of that > has bits set that do not fit into a 32-bit variable on 64-bit architectures, > which causes a harmless gcc warning: > >

Re: [PATCH] net: hisilicon: add OF dependency

2015-10-18 Thread David Miller
From: Arnd Bergmann Date: Fri, 16 Oct 2015 11:33:49 +0200 > The HNS MDIO driver fails to build on older ARM machines that are not > yet converted to CONFIG_OF: > > drivers/net/ethernet/hisilicon/hns_mdio.c: In function 'hns_mdio_bus_name': >

Re: [GIT PULL] ARCNET: features and fixes

2015-10-18 Thread David Miller
From: Michael Grzeschik Date: Fri, 16 Oct 2015 13:00:54 +0200 > This series includes some small fixes. The main changes are the correct > xceiver handling (enable/disable) of the com20020 cards. The driver now > handles > link status change detection. The EAE

Re: linux 3.4.43 : kernel crash at __nf_conntrack_confirm

2015-10-18 Thread Ani Sinha
> > On Sun, Oct 18, 2015 at 1:07 AM, Florian Westphal wrote: > > Ani Sinha wrote: > >> Coming back to this crash, I see something interesting in the > >> conntrack code in linux 3.4.109 (a supported kernel version). I see > >> that the hash table manipulations

Re: [RFC PATCH net-next 0/9] netlink: strict attribute checking option

2015-10-18 Thread David Miller
From: David Ahern Date: Fri, 16 Oct 2015 09:57:33 -0600 > On 10/16/15 2:02 AM, Jiri Benc wrote: >> On Fri, 16 Oct 2015 01:06:44 -0700 (PDT), David Miller wrote: >>> No, it's definitely not OK, because lwtunnel support exists in >>> Linus's tree. >>> >>> And tools should

Re: [PATCH net-next 0/4] BPF updates

2015-10-18 Thread David Miller
From: Daniel Borkmann Date: Fri, 16 Oct 2015 03:09:21 +0200 > This set adds support for persistent maps/progs. Please see > individual patches for further details. > > A man-page update to bpf(2) will be sent afterwards, also a > iproute2 patch for support in tc. > >

Re: [PATCH net-next 2/7] tcp: track min RTT using windowed min-filter

2015-10-18 Thread Andrew Shewmaker
On Sun, Oct 18, 2015 at 10:33:41AM -0400, Neal Cardwell wrote: > On Wed, Oct 14, 2015 at 5:28 AM, Andrew Shewmaker wrote: > >> diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c > >> index 38743e5..e177386 100644 > >> --- a/net/ipv4/tcp_input.c > >> +++

Darlehen anbieten

2015-10-18 Thread MASTHAVEN LOAN FINANCE
Guten Tag, Wir MASTHAVEN Darlehensfinanzierung geben, Kredite per Post Anzeige. Wir bieten verschiedene Arten von Krediten (kurz- und langfristige Darlehen, persönliche Darlehen, Kredite an Unternehmen etc.) um 3% Zins. Wir geben Kredite an Menschen in Not nicht unabhängig von

Re: [PATCH net-next v2] netlink: Trim skb to alloc size to avoid MSG_TRUNC

2015-10-18 Thread David Miller
From: Ronen Arad Date: Thu, 15 Oct 2015 01:55:17 -0700 > netlink_dump() allocates skb based on the calculated min_dump_alloc or > a per socket max_recvmsg_len. > min_alloc_size is maximum space required for any single netdev > attributes as calculated by rtnl_calcit(). >

Re: [PATCH v2 1/1] net: phy: bcm-phy-lib: Fix module license issue

2015-10-18 Thread David Miller
From: Arun Parameswaran Date: Thu, 15 Oct 2015 10:37:13 -0700 > The 'bcm-phy-lib.c', added as a part of the commit > "net: phy: Add Broadcom phy library for common interfaces" > was missing the module license. This was causing an issue > when the library is built as a module;

Re: linux 3.4.43 : kernel crash at __nf_conntrack_confirm

2015-10-18 Thread Florian Westphal
Ani Sinha wrote: > Indeed. So it seems to me that we have run into one another such case. > In patch c6825c0976fa7893692, I see we have added an additional check (along > with comparing tuple and zone) to verify that if the conntrack is confirmed. > > + return

Re: [PATCH v3] vsock: fix missing cleanup when misc_register failed

2015-10-18 Thread David Miller
From: Gao feng Date: Sun, 18 Oct 2015 23:35:56 +0800 > reset transport and unlock if misc_register failed. > > Signed-off-by: Gao feng It's extremely disappointing that it took you three revisions just to put together a submission that

Re: [PATCH] net: asix: add support for the Billionton GUSB2AM-1G-B USB adapter

2015-10-18 Thread David Miller
From: changch...@gmail.com Date: Fri, 16 Oct 2015 02:00:21 +0800 > From: Chia-Sheng Chang > > Just another AX88178-based 10/100/1000 USB-to-Ethernet dongle. This one > shows up in lsusb as: "ID 08dd:0114 Billionton Systems, Inc". > > Signed-off-by: Chia-Sheng Chang

Re: [PATCH] net: hisilicon: include linux/vmalloc.h in dsaf

2015-10-18 Thread David Miller
From: Arnd Bergmann Date: Fri, 16 Oct 2015 11:30:56 +0200 > Some configurations fail to build the hns dsaf code because of > a missing header file: > > ethernet/hisilicon/hns/hns_dsaf_main.c: In function 'hns_dsaf_init': > ethernet/hisilicon/hns/hns_dsaf_main.c:1096:2: error:

Good Day

2015-10-18 Thread GG18
I need your assistance into this transaction. Regards, Mr. LEUNG Cheung -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH v2 1/3] unix: fix use-after-free in unix_dgram_poll()

2015-10-18 Thread Rainer Weikusat
Jason Baron writes: > >> >> X-Signed-Off-By: Rainer Weikusat >> Sorry for the delayed reply but I had to do some catching up on what the people who pay me consider 'useful work' :-). > So the patches I've posted and yours both use

Re: [RFC PATCH] RDS: convert bind hash table to re-sizable hashtable

2015-10-18 Thread David Miller
From: Santosh Shilimkar Date: Wed, 14 Oct 2015 14:15:31 -0700 > From: Santosh Shilimkar > > To further improve the RDS connection scalabilty on massive systems > where number of sockets grows into tens of thousands of sockets, there > is a

Re: [PATCH net-next v2] ipconfig: send Client-identifier in DHCP requests

2015-10-18 Thread David Miller
From: roy.qing...@gmail.com Date: Thu, 15 Oct 2015 16:54:36 +0800 > From: Li RongQing > > A dhcp server may provide parameters to a client from a pool of IP > addresses and using a shared rootfs, or provide a specific set of > parameters for a specific client, usually

Re: [PATCH] xen-netback: correctly check failed allocation

2015-10-18 Thread David Miller
From: Insu Yun Date: Thu, 15 Oct 2015 18:02:28 + > Since vzalloc can be failed in memory pressure, > writes -ENOMEM to xenstore to indicate error. > > Signed-off-by: Insu Yun Applied. -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH net-next v3 0/2] net: hisilicon fix some bugs in HNS drivers

2015-10-18 Thread David Miller
From: huangdaode Date: Fri, 16 Oct 2015 11:54:15 +0800 > This patchset fixes the two bugs in HNS driver, one is remove the hnae sysfs > interface > according to the review comments from Arnd Bergmann , another > is fixing the wrong mac_id judgement bug

Re: [PATCH net-next 0/2] net: hns: fixes two bugs in hns driver

2015-10-18 Thread David Miller
From: yankejian Date: Fri, 16 Oct 2015 17:03:18 +0800 > This patchset fixes two bugs in hns driver. > - fixes timeout when received pause frame from the connective ports > - should be set by using ethtool -s when the devices are link down Series applied, thanks. --

[PATCH] staging: rtl8712: Add device ID for Sitecom WLA2100

2015-10-18 Thread Larry Finger
This adds the USB ID for the Sitecom WLA2100. The Windows 10 inf file was checked to verify that the addition is correct. Reported-by: Frans van de Wiel Signed-off-by: Larry Finger Cc: Frans van de Wiel Cc: Stable

Re: Cash Awaiting Pick-Up

2015-10-18 Thread Western Union
This is to re-notify you of the £500,000.00(POUNDS) That was deposited at western union office in your name is available for pickup. Contact this email: accountoffic...@qq.com for your M.T.C.N Numbers. Contact Person: Mrs. Hillary Florence Email: accountoffic...@qq.com -- To unsubscribe from

[PATCH net-next v4 1/2] mpls: multipath route support

2015-10-18 Thread Roopa Prabhu
From: Roopa Prabhu This patch adds support for MPLS multipath routes. Includes following changes to support multipath: - splits struct mpls_route into 'struct mpls_route + struct mpls_nh' - 'struct mpls_nh' represents a mpls nexthop label forwarding entry - moves

[PATCH net-next v4 0/2] mpls: multipath support

2015-10-18 Thread Roopa Prabhu
From: Roopa Prabhu This patch adds support for MPLS multipath routes. Includes following changes to support multipath: - splits struct mpls_route into 'struct mpls_route + struct mpls_nh'. - struct mpls_nh represents a mpls nexthop label forwarding entry - Adds

[PATCH net-next v4 2/2] mpls: flow-based multipath selection

2015-10-18 Thread Roopa Prabhu
From: Robert Shearman Change the selection of a multipath route to use a flow-based hash. This more suitable for traffic sensitive to reordering within a flow (e.g. TCP, L2VPN) and whilst still allowing a good distribution of traffic given enough flows. Selection of the

Re: [PATCH net-next v3 0/2] net: hisilicon fix some bugs in HNS drivers

2015-10-18 Thread huangdaode
On 2015/10/16 17:30, Arnd Bergmann wrote: On Friday 16 October 2015 11:54:15 huangdaode wrote: This patchset fixes the two bugs in HNS driver, one is remove the hnae sysfs interface according to the review comments from Arnd Bergmann , another is fixing the wrong mac_id

Re: [PATCH net-next v3] bnxt_en: New Broadcom ethernet driver.

2015-10-18 Thread Stephen Hemminger
On Sat, 17 Oct 2015 00:21:44 -0400 Michael Chan wrote: > +/* indexed by enum above */ > +static struct { > + char *name; > +} board_info[] = { > + { "Broadcom BCM57302 NetXtreme-C Single-port 10Gb/25Gb/40Gb/50Gb > Ethernet" }, > + { "Broadcom BCM57304 NetXtreme-C

Re: [PATCH net] tunnels: Don't require remote endpoint or ID during creation.

2015-10-18 Thread David Miller
From: Jesse Gross Date: Fri, 16 Oct 2015 16:36:00 -0700 > Before lightweight tunnels existed, it really didn't make sense to > create a tunnel that was not fully specified, such as without a > destination IP address - the resulting packets would go nowhere. > However, with

Re: [PATCH] ipv6 route: Aggregate table getting code

2015-10-18 Thread David Miller
From: Masashi Honma Date: Sun, 18 Oct 2015 09:51:39 +0900 > These lines could be aggregated to one line because fib6_new_table() calls > fib6_get_table() inside on both cases CONFIG_IPV6_MULTIPLE_TABLES is enabled > or > not. > > Signed-off-by: Masashi Honma

Re: [PATCH net] net: bcmgenet: Fix early link interrupt enabling

2015-10-18 Thread David Miller
From: Florian Fainelli Date: Sat, 17 Oct 2015 14:22:46 -0700 > From: Florian Fainelli > > Link interrupts are enabled in init_umac(), which is too early for us to > process them since we do not yet have a valid PHY device pointer. On > BCM7425 chips

Fw: [Bug 106171] New: Regression causes "ip" command to crash, leaving the user without any networking

2015-10-18 Thread Stephen Hemminger
Freescale driver bug. Begin forwarded message: Date: Mon, 19 Oct 2015 02:14:45 + From: "bugzilla-dae...@bugzilla.kernel.org" To: "shemmin...@linux-foundation.org" Subject: [Bug 106171] New: Regression causes "ip"

Re: [PATCH net-next v3] bnxt_en: New Broadcom ethernet driver.

2015-10-18 Thread Stephen Hemminger
On Sat, 17 Oct 2015 00:21:44 -0400 Michael Chan wrote: > +static bool bnxt_vf_pciid(int idx) > +{ > + if (idx == BCM57304_VF || idx == BCM57404_VF) > + return true; > + return false; > +} > + I prefer just returning result of logical operation rather than

Re: pull-request: wireless-drivers 2015-10-17

2015-10-18 Thread David Miller
From: Kalle Valo Date: Sat, 17 Oct 2015 08:26:19 +0300 > few small fixes I would like to get to 4.3 still. Please let me know if > there are any problems. Pulled, thanks Kalle. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to

Re: [PATCH net-next v3] bnxt_en: New Broadcom ethernet driver.

2015-10-18 Thread Stephen Hemminger
On Sat, 17 Oct 2015 00:21:44 -0400 Michael Chan wrote: > +static inline u32 bnxt_tx_avail(struct bnxt *bp, struct bnxt_tx_ring_info > *txr) > +{ > + /* Tell compiler to fetch tx indices from memory. */ > + barrier(); Actually, you are telling compiler not to

Re: [PATCH V3 1/2] bpf: control the trace data output on current cpu when perf sampling

2015-10-18 Thread xiakaixu
于 2015/10/17 6:06, Alexei Starovoitov 写道: > On 10/16/15 12:42 AM, Kaixu Xia wrote: >> This patch adds the flag dump_enable to control the trace data >> output process when perf sampling. By setting this flag and >> integrating with ebpf, we can control the data output process and >> get the

Re: [PATCH net-next 2/7] tcp: track min RTT using windowed min-filter

2015-10-18 Thread Andrew Shewmaker
On Wed, Oct 14, 2015 at 02:28:00AM -0700, Andrew Shewmaker wrote: > On Fri, Oct 16, 2015 at 09:57:42PM -0700, Yuchung Cheng wrote: > ... > > diff --git a/include/linux/tcp.h b/include/linux/tcp.h > > index 86a7eda..90edef5 100644 > > --- a/include/linux/tcp.h > > +++ b/include/linux/tcp.h > > @@

[PATCH] allow dctcp alpha to drop to zero

2015-10-18 Thread Andrew Shewmaker
If alpha is strictly reduced by alpha >> dctcp_shift_g and if alpha is less than 1 << dctcp_shift_g, then alpha may never reach zero. For example, given shift_g=4 and alpha=15, alpha >> dctcp_shift_g yields 0 and alpha remains 15. The effect isn't noticeable in this case below cwnd=137, but could

Re: [PATCH v2 net-next] RDS: fix rds-ping deadlock over TCP transport

2015-10-18 Thread David Miller
From: Santosh Shilimkar Date: Fri, 16 Oct 2015 22:13:21 -0400 > Sowmini found hang with rds-ping while testing RDS over TCP. Its > a corner case and doesn't happen always. The issue is not reproducible > with IB transport. Its clear from below dump why we see it

Re: [PATCH iproute2] bridge: add calls to fflush in fdb and mdb print functions

2015-10-18 Thread Stephen Hemminger
On Thu, 15 Oct 2015 14:53:17 -0700 Roopa Prabhu wrote: > From: Wilson Kok > > This patch adds fflush in fdb and mdb print functions > > Signed-off-by: Wilson Kok > Signed-off-by: Roopa Prabhu

Re: [PATCH iproute2] ss: return -1 if an unrecognized option was given

2015-10-18 Thread Stephen Hemminger
On Thu, 15 Oct 2015 21:01:16 +0200 Phil Sutter wrote: > When getopt_long encounters an option which has not been registered, it > returns '?'. React upon that and call usage() instead of help() so ss > returns with a non-zero exit status. > > Signed-off-by: Phil Sutter

Re: [PATCH] ip-rule: neither prohibit nor reject or unreachable flags exist

2015-10-18 Thread Stephen Hemminger
On Thu, 15 Oct 2015 20:32:17 + Phil Sutter wrote: > This has been inconsistent since the beginning of Git and seems to be > merely a documentation leftover, therefore just remove it from help > output and man page. > > Signed-off-by: Phil Sutter Applied. > --

Re: [PATCH net-next] uapi: add mpls_iptunnel.h

2015-10-18 Thread David Miller
From: Stephen Hemminger Date: Fri, 16 Oct 2015 16:12:34 -0700 > Add missing rule to export mpls iptunnel header needed by iproute2 > > Signed-off-by: Stephen Hemminger Applied, thanks Stephen. -- To unsubscribe from this list: send the

Re: pull request: bluetooth 2015-10-16

2015-10-18 Thread David Miller
From: Johan Hedberg Date: Fri, 16 Oct 2015 17:29:00 +0300 > First of all, sorry for the late set of patches for the 4.3 cycle. We > just finished an intensive week of testing at the Bluetooth UnPlugFest > and discovered (and fixed) issues there. Unfortunately a few

Re: [PATCHv2 net] openvswitch: Scrub skb between namespaces

2015-10-18 Thread David Miller
From: Joe Stringer Date: Fri, 16 Oct 2015 11:08:18 -0700 > If OVS receives a packet from another namespace, then the packet should > be scrubbed. However, people have already begun to rely on the behaviour > that skb->mark is preserved across namespaces, so retain this

Re: [PATCH net-next] tcp: do not set queue_mapping on SYNACK

2015-10-18 Thread David Miller
From: Eric Dumazet Date: Fri, 16 Oct 2015 13:00:01 -0700 > From: Eric Dumazet > > At the time of commit fff326990789 ("tcp: reflect SYN queue_mapping into > SYNACK packets") we had little ways to cope with SYN floods. > > We no longer need to

Re: [PATCH net-next 3/4] bpf: add support for persistent maps/progs

2015-10-18 Thread Alexei Starovoitov
On 10/18/15 9:49 AM, Daniel Borkmann wrote: Okay, I have pushed some rough working proof of concept here: https://git.breakpoint.cc/cgit/dborkman/net-next.git/log/?h=ebpf-fds-final5 So the idea eventually had to be slightly modified after giving this further thoughts and is the following: We

Re: [PATCH V3 1/2] bpf: control the trace data output on current cpu when perf sampling

2015-10-18 Thread xiakaixu
于 2015/10/17 6:06, Alexei Starovoitov 写道: > On 10/16/15 12:42 AM, Kaixu Xia wrote: >> This patch adds the flag dump_enable to control the trace data >> output process when perf sampling. By setting this flag and >> integrating with ebpf, we can control the data output process and >> get the

Re: linux 3.4.43 : kernel crash at __nf_conntrack_confirm

2015-10-18 Thread Florian Westphal
Ani Sinha wrote: > Coming back to this crash, I see something interesting in the > conntrack code in linux 3.4.109 (a supported kernel version). I see > that the hash table manipulations are protected by a spinlock. Also > lookups/reads are protected by RCU. However allocation

Re: [PATCH] net/phy: micrel: Follow attached_dev to get to the MAC device

2015-10-18 Thread Dinh Nguyen
On Sat, 17 Oct 2015, Dinh Nguyen wrote: > On Sat, 17 Oct 2015, Andrew Lunn wrote: > > > > Sure, will try to debug. It looks like phydev->attached_dev is valid, but > > > phydev->attached_dev->dev.of_node is NULL. > > > > Humm > > > > phydev->attached_dev is a net_device, so should be the mac.

Re: [PATCH 2/3] net: wireless: b43: Fixed Pointer issue

2015-10-18 Thread Michael Büsch
On Sun, 18 Oct 2015 00:01:37 +0100 Paul McQuade wrote: > Moved around pointer to avoid ERROR > > Signed-off-by: Paul McQuade > --- > drivers/net/wireless/b43/dma.h | 14 +++--- > drivers/net/wireless/b43/main.c | 6 +++--- >

Re: [PATCH 3/3] net: wireless: b43: statics Don't init to 0

2015-10-18 Thread Rafał Miłecki
On 18 October 2015 at 01:01, Paul McQuade wrote: > Don't turn statics to 0 or NULL Same request as Michael's in 2/3. Your "statics Don't init to 0" message sounds strange, statics *are* initialized to 0 by default (as you probably know but described it in a unclear way). --

[PATCH] vsock: fix missing cleanup when misc_register failed

2015-10-18 Thread Gao feng
reset transport and unlock if misc_register failed. Signed-off-by: Gao feng --- net/vmw_vsock/af_vsock.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/net/vmw_vsock/af_vsock.c b/net/vmw_vsock/af_vsock.c index df5fc6b..5f5fbed 100644 ---

Re: [PATCH] net: wireless: rt2x00: statics code style

2015-10-18 Thread Sergei Shtylyov
Hello. On 10/17/2015 11:25 PM, Paul McQuade wrote: Do not initialise statics to 0 or NULL Also use tabs where possible Signed-off-by: Paul McQuade --- drivers/net/wireless/rt2x00/rt61pci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH net-next 3/4] bpf: add support for persistent maps/progs

2015-10-18 Thread Daniel Borkmann
On 10/18/2015 04:20 AM, Alexei Starovoitov wrote: ... that indeed sounds cleaner, less lines of code, no fs, etc, but I don't see how it will work yet. I'll have some code ready very soon to show the concept. Will post it here tonight, stay tuned. ;) Cheers, Daniel -- To unsubscribe from this

[PATCH 3/9] net: fix trivial typos

2015-10-18 Thread Geliang Tang
s/regsiter/register/ Signed-off-by: Geliang Tang --- drivers/net/ethernet/amd/amd8111e.h | 2 +- drivers/net/ethernet/atheros/atl1c/atl1c_hw.c | 2 +- drivers/net/ethernet/intel/igb/e1000_phy.c| 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff

[PATCH v2] vsock: fix missing cleanup when misc_register failed

2015-10-18 Thread Gao feng
reset transport and unlock if misc_register failed. Signed-off-by: Gao feng --- net/vmw_vsock/af_vsock.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/net/vmw_vsock/af_vsock.c b/net/vmw_vsock/af_vsock.c index df5fc6b..598e045 100644 ---

Re: [PATCH net] net: try harder to not reuse ifindex when moving interfaces

2015-10-18 Thread Alexei Starovoitov
On Fri, Oct 16, 2015 at 01:07:59PM +0200, Jiri Benc wrote: > When moving interfaces to a different netns, the ifindex of the interface is > kept if possible. However, this is not kept in sync with allocation of new > interfaces in the target netns. While the ifindex will be skipped when > creating

[PATCH v3] vsock: fix missing cleanup when misc_register failed

2015-10-18 Thread Gao feng
reset transport and unlock if misc_register failed. Signed-off-by: Gao feng --- net/vmw_vsock/af_vsock.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/net/vmw_vsock/af_vsock.c b/net/vmw_vsock/af_vsock.c index df5fc6b..00e8a34 100644 ---

[PATCH net 0/2] net: mv643xx_eth: TSO TX data corruption fixes

2015-10-18 Thread Philipp Kirchhofer
Hello, as previously discussed [1] the mv643xx_eth driver has some issues with data corruption when using TCP segmentation offload (TSO). The following patch set improves this situation by fixing two data corruption bugs in the TSO TX path. Before applying the patches repeatedly accessing large

[PATCH net 2/2] net: mv643xx_eth: Defer writing the first TX descriptor when using TSO

2015-10-18 Thread Philipp Kirchhofer
To prevent a race between the TX DMA engine and the CPU the writing of the first transmit descriptor must be deferred until all following descriptors have been updated. The network card may otherwise start transmitting before all packet descriptors are set up correctly, which leads to data

[PATCH net 1/2] net: mv643xx_eth: Ensure proper data alignment in TSO TX path

2015-10-18 Thread Philipp Kirchhofer
The TX DMA engine requires that buffers with a size of 8 bytes or smaller must be 64 bit aligned. This requirement may be violated when doing TSO, as in this case larger skb frags can be broken up and transmitted in small parts with then inappropriate alignment. Fix this by checking for proper

Re: [PATCH net-next 2/7] tcp: track min RTT using windowed min-filter

2015-10-18 Thread Andrew Shewmaker
On Fri, Oct 16, 2015 at 09:57:42PM -0700, Yuchung Cheng wrote: ... > diff --git a/include/linux/tcp.h b/include/linux/tcp.h > index 86a7eda..90edef5 100644 > --- a/include/linux/tcp.h > +++ b/include/linux/tcp.h > @@ -217,6 +217,9 @@ struct tcp_sock { > u32 mdev_max_us;/* maximal

Re: [PATCH] vsock: fix missing cleanup when misc_register failed

2015-10-18 Thread kbuild test robot
Hi Gao, [auto build test ERROR on net/master -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Gao-feng/vsock-fix-missing-cleanup-when-misc_register-failed/20151018-215542 config: x86_64-rhel (attached

Re: [PATCH net-next 2/7] tcp: track min RTT using windowed min-filter

2015-10-18 Thread Neal Cardwell
On Wed, Oct 14, 2015 at 5:28 AM, Andrew Shewmaker wrote: >> diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c >> index 38743e5..e177386 100644 >> --- a/net/ipv4/tcp_input.c >> +++ b/net/ipv4/tcp_input.c > ... >> @@ -2961,7 +3028,7 @@ void tcp_synack_rtt_meas(struct sock

Re: [PATCH v2] vsock: fix missing cleanup when misc_register failed

2015-10-18 Thread kbuild test robot
Hi Gao, [auto build test ERROR on net/master -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Gao-feng/vsock-fix-missing-cleanup-when-misc_register-failed/20151018-223056 config: x86_64-allmodconfig

Re: [PATCH net-next 3/4] bpf: add support for persistent maps/progs

2015-10-18 Thread Daniel Borkmann
On 10/18/2015 05:03 PM, Daniel Borkmann wrote: On 10/18/2015 04:20 AM, Alexei Starovoitov wrote: ... that indeed sounds cleaner, less lines of code, no fs, etc, but I don't see how it will work yet. I'll have some code ready very soon to show the concept. Will post it here tonight, stay