Re: Section 4 No. 9,10 Failed was occurred by IPv6 Ready Logo Conformance Test

2016-04-03 Thread Yuki Machida
Hi Roy, On 2016年04月01日 17:00, Yuki Machida wrote: > Hi Roy, > > Thank you for your advice. > I am very glad. > > Futher comment below. > > On 2016年04月01日 16:43, Rongqing Li wrote: >> >> >> On 2016年04月01日 15:31, Yuki Machida wrote: >>> Hi all, >>> >>> I tested 4.6-rc1 by IPv6 Ready Logo Core Con

Re: [PATCH v5 net-next] net: ipv4: Consider failed nexthops in multipath routes

2016-04-03 Thread Julian Anastasov
Hello, On Sun, 3 Apr 2016, David Ahern wrote: > Multipath route lookups should consider knowledge about next hops and not > select a hop that is known to be failed. > > Example: > > [h2] [h3] 15.0.0.5 > |

Re: [v7, 3/5] dt: move guts devicetree doc out of powerpc directory

2016-04-03 Thread Rob Herring
On Fri, Apr 01, 2016 at 11:07:29AM +0800, Yangbo Lu wrote: > Move guts devicetree doc to Documentation/devicetree/bindings/soc/fsl/ > since it's used by not only PowerPC but also ARM. And add a specification > for 'little-endian' property. > > Signed-off-by: Yangbo Lu > --- > Changes for v2: >

[PATCH net-next] cxgb4/cxgb4vf: Deprecate module parameter dflt_msg_enable

2016-04-03 Thread Hariprasad Shenai
Message level can be set through ethtool, so deprecate module parameter which is used to set the same. Signed-off-by: Hariprasad Shenai --- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 3 ++- drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c | 3 ++- 2 files changed, 4 insertions(+),

[PATCH net] cxgb4: Add pci device id for chelsio t520-cr adapter

2016-04-03 Thread Hariprasad Shenai
Signed-off-by: Hariprasad Shenai --- drivers/net/ethernet/chelsio/cxgb4/t4_pci_id_tbl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/chelsio/cxgb4/t4_pci_id_tbl.h b/drivers/net/ethernet/chelsio/cxgb4/t4_pci_id_tbl.h index 06bc2d2e7a73..a2cdfc1261dc 100644 --- a/driver

Re: [PATCH net-next v2 0/6] net: dsa: mv88e6131: HW bridging support for 6185

2016-04-03 Thread Andrew Lunn
On Thu, Mar 31, 2016 at 04:53:40PM -0400, Vivien Didelot wrote: > All packets passing through a switch of the 6185 family are currently all > directed to the CPU port. This means that port bridging is software driven. > > To enable hardware bridging for this switch family, we need to implement the

[PATCH net-next] irda: sh_irda: remove driver

2016-04-03 Thread Simon Horman
Remove the sh-irda driver as it appears to be unused since c0bb9b302769 ("ARCH: ARM: shmobile: Remove ag5evm board support"). Signed-off-by: Simon Horman --- drivers/net/irda/Kconfig | 7 - drivers/net/irda/Makefile | 1 - drivers/net/irda/sh_irda.c | 875 -

[PATCH v5 net-next] net: ipv4: Consider failed nexthops in multipath routes

2016-04-03 Thread David Ahern
Multipath route lookups should consider knowledge about next hops and not select a hop that is known to be failed. Example: [h2] [h3] 15.0.0.5 | | 3| 3|

Re: [PATCH v4 net-next] net: ipv4: Consider failed nexthops in multipath routes

2016-04-03 Thread David Ahern
On 4/3/16 3:57 PM, Julian Anastasov wrote: Hello, On Sun, 3 Apr 2016, David Ahern wrote: --- a/Documentation/networking/ip-sysctl.txt +++ b/Documentation/networking/ip-sysctl.txt @@ -63,6 +63,16 @@ fwmark_reflect - BOOLEAN fwmark of the packet they are replying to. Def

[PATCH net-next 3/4] udp: enable MSG_PEEK at non-zero offset

2016-04-03 Thread Willem de Bruijn
From: samanthakumar Enable peeking at UDP datagrams at the offset specified with socket option SOL_SOCKET/SO_PEEK_OFF. Peek at any datagram in the queue, up to the end of the given datagram. When peeking, always checksum the packet immediately, to avoid recomputation on subsequent peeks and fina

[PATCH net-next 2/4] udp: remove headers from UDP packets before queueing

2016-04-03 Thread Willem de Bruijn
From: samanthakumar Remove UDP transport headers before queueing packets for reception. This change simplifies a follow-up patch to add MSG_PEEK support. Signed-off-by: Sam Kumar Signed-off-by: Willem de Bruijn --- include/net/sock.h | 1 + include/net/udp.h | 9 + net/core/sock.c

[PATCH net-next 1/4] sock: convert sk_peek_offset functions to WRITE_ONCE

2016-04-03 Thread Willem de Bruijn
From: Willem de Bruijn Make the peek offset interface safe to use in lockless environments. Use READ_ONCE and WRITE_ONCE to avoid race conditions between testing and updating the peek offset. Suggested-by: Eric Dumazet Signed-off-by: Willem de Bruijn --- include/net/sock.h | 24 +-

[PATCH net-next 0/4] udp: support SO_PEEK_OFFSET

2016-04-03 Thread Willem de Bruijn
From: Willem de Bruijn Support peeking at a non-zero offset for UDP sockets. Match the existing behavior on Unix datagram sockets. 1/4 makes the sk_peek_offset functions safe to use outside locks 2/4 removes udp headers before enqueue, to simplify offset arithmetic 3/4 introduces SO_PEEK_OFFSET

[PATCH net-next 4/4] udp: move peek offset on read and peek

2016-04-03 Thread Willem de Bruijn
From: Willem de Bruijn For UDP sockets, implement the SO_PEEK_OFF semantics introduced in commit ef64a54f6e55 ("sock: Introduce the SO_PEEK_OFF sock option"). Move the offset forward on peek by the size of the data peeked, move it backwards on regular reads. The socket lock is not held for the

[PATCH] bridge:Fix incorrect variable assignment on error path in br_sysfs_addbr

2016-04-03 Thread Bastien Philbert
This fixes the incorrect variable assignment on error path in br_sysfs_addbr for when the call to kobject_create_and_add fails to assign the value of -EINVAL to the returned variable of err rather then incorrectly return zero making callers think this function has succeededed due to the previous as

Re: Best way to reduce system call overhead for tun device I/O?

2016-04-03 Thread Willem de Bruijn
On Thu, Mar 31, 2016 at 7:39 PM, Stephen Hemminger wrote: > On Fri, 1 Apr 2016 00:28:57 +0200 > Guus Sliepen wrote: > >> On Thu, Mar 31, 2016 at 05:20:50PM -0400, David Miller wrote: >> >> > >> I'm trying to reduce system call overhead when reading/writing to/from a >> > >> tun device in userspac

Re: [PATCH net-next 0/8] add TX timestamping via cmsg

2016-04-03 Thread Willem de Bruijn
>> This does not yet solve the append issue that your MSG_EOR patch >> addresses, of course. > Yes. I have been thinking about both approaches. > >> >> The straightforward jump to new_segment that I proposed as >> simplification is more properly a "start-of-record" than >> "end-of-record" signal.

Re: [PATCH 2/6] net: ethernet: renesas: ravb_main: test clock rate to avoid division by 0

2016-04-03 Thread Sergei Shtylyov
On 04/04/2016 12:36 AM, Wolfram Sang wrote: From: Wolfram Sang The clk API may return 0 on clk_get_rate, so we should check the result before using it as a divisor. Signed-off-by: Wolfram Sang Ping. http://patchwork.ozlabs.org/patch/591160/ I have no idea why it's marked this way.

[PATCH v2 04/15] wcn36xx: Use consistent name for private vif

2016-04-03 Thread Bjorn Andersson
From: Pontus Fuchs Some code used priv_vif and some used vif_priv. Convert all to vif_priv for consistency. Signed-off-by: Pontus Fuchs Signed-off-by: Bjorn Andersson --- drivers/net/wireless/ath/wcn36xx/smd.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-

[PATCH v2 01/15] wcn36xx: Clean up wcn36xx_smd_send_beacon

2016-04-03 Thread Bjorn Andersson
From: Pontus Fuchs Needed for coming improvements. No functional changes. Signed-off-by: Pontus Fuchs Signed-off-by: Bjorn Andersson --- drivers/net/wireless/ath/wcn36xx/hal.h | 7 +-- drivers/net/wireless/ath/wcn36xx/smd.c | 12 +--- 2 files changed, 10 insertions(+), 9 deletion

[PATCH v2 02/15] wcn36xx: Pad TIM PVM if needed

2016-04-03 Thread Bjorn Andersson
From: Pontus Fuchs The wcn36xx FW expects a fixed size TIM PVM in the beacon template. If supplied with a shorter than expected PVM it will overwrite the IE following the TIM. Squashed with fix from Jason Mobarak : Patch "wcn36xx: Pad TIM PVM if needed" has caused a regression in mesh beaconing.

[PATCH v2 03/15] wcn36xx: Add helper macros to cast vif to private vif and vice versa

2016-04-03 Thread Bjorn Andersson
From: Pontus Fuchs Makes the code a little easier to read. Signed-off-by: Pontus Fuchs Signed-off-by: Bjorn Andersson --- drivers/net/wireless/ath/wcn36xx/debug.c | 12 +++- drivers/net/wireless/ath/wcn36xx/main.c| 16 +++- drivers/net/wireless/ath/wcn36xx/pmc.c

[PATCH v2 11/15] wcn36xx: Use allocated self sta index instead of hard coded

2016-04-03 Thread Bjorn Andersson
From: Pontus Fuchs Signed-off-by: Pontus Fuchs Signed-off-by: Bjorn Andersson --- drivers/net/wireless/ath/wcn36xx/smd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/wcn36xx/smd.c b/drivers/net/wireless/ath/wcn36xx/smd.c index ebb446272d21..e0d5

[PATCH v2 07/15] wcn36xx: Fetch private sta data from sta entry instead of from vif

2016-04-03 Thread Bjorn Andersson
From: Pontus Fuchs For consistency with other code. Signed-off-by: Pontus Fuchs Signed-off-by: Bjorn Andersson --- drivers/net/wireless/ath/wcn36xx/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/wcn36xx/main.c b/drivers/net/wireless/ath/wc

[PATCH v2 09/15] wcn36xx: Parse trigger_ba response properly

2016-04-03 Thread Bjorn Andersson
From: Pontus Fuchs This message does not follow the canonical format and needs it's own parser. Signed-off-by: Pontus Fuchs Signed-off-by: Bjorn Andersson --- drivers/net/wireless/ath/wcn36xx/smd.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/drivers/net

[PATCH v2 05/15] wcn36xx: Use define for invalid index and fix typo

2016-04-03 Thread Bjorn Andersson
From: Pontus Fuchs Signed-off-by: Pontus Fuchs Signed-off-by: Bjorn Andersson --- drivers/net/wireless/ath/wcn36xx/hal.h | 2 +- drivers/net/wireless/ath/wcn36xx/main.c | 4 ++-- drivers/net/wireless/ath/wcn36xx/smd.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dri

[PATCH v2 06/15] wcn36xx: Add helper macros to cast sta to priv

2016-04-03 Thread Bjorn Andersson
From: Pontus Fuchs While poking at this I also change two related things. I rename one variable to make the names consistent. I also move one assignment of priv_sta to the declaration to save a few lines. Signed-off-by: Pontus Fuchs Signed-off-by: Bjorn Andersson --- drivers/net/wireless/ath/

[PATCH v2 10/15] wcn36xx: Copy all members in config_sta v1 conversion

2016-04-03 Thread Bjorn Andersson
From: Pontus Fuchs When converting to version 1 of the config_sta struct not all members where copied. This fixes the problem of multicast frames not being delivered on an encrypted network. Signed-off-by: Pontus Fuchs Signed-off-by: Bjorn Andersson --- drivers/net/wireless/ath/wcn36xx/smd.c

[PATCH v2 13/15] wcn36xx: Track association state

2016-04-03 Thread Bjorn Andersson
From: Pontus Fuchs Knowing the association state is needed for mc filtering. Signed-off-by: Pontus Fuchs Signed-off-by: Bjorn Andersson --- drivers/net/wireless/ath/wcn36xx/main.c| 2 ++ drivers/net/wireless/ath/wcn36xx/wcn36xx.h | 1 + 2 files changed, 3 insertions(+) diff --git a/drive

[PATCH v2 08/15] wcn36xx: Remove sta pointer in private vif struct

2016-04-03 Thread Bjorn Andersson
From: Pontus Fuchs This does not work with multiple sta's in a vif. Signed-off-by: Pontus Fuchs Signed-off-by: Bjorn Andersson --- drivers/net/wireless/ath/wcn36xx/main.c| 3 --- drivers/net/wireless/ath/wcn36xx/smd.c | 28 +++- drivers/net/wireless/ath/wcn36x

[PATCH v2 14/15] wcn36xx: Implement multicast filtering

2016-04-03 Thread Bjorn Andersson
From: Pontus Fuchs Pass the multicast list to FW. This patch also adds a way to build the smd command in place. This is needed because the MC list command is too big for the stack. Signed-off-by: Pontus Fuchs [bjorn: dropped FIF_PROMISC_IN_BSS usage] Signed-off-by: Bjorn Andersson --- driver

[PATCH v2 15/15] wcn36xx: Use correct command struct for EXIT_BMPS_REQ

2016-04-03 Thread Bjorn Andersson
From: Pontus Fuchs EXIT_BMPS_REQ was using the command struct for ENTER_BMPS_REQ. I spotted this when looking at command dumps. Signed-off-by: Pontus Fuchs Signed-off-by: Bjorn Andersson --- drivers/net/wireless/ath/wcn36xx/smd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --g

[PATCH v2 12/15] wcn36xx: Clear encrypt_type when deleting bss key

2016-04-03 Thread Bjorn Andersson
From: Pontus Fuchs This fixes a problem connecting to an open network after being connected to an encrypted network. Signed-off-by: Pontus Fuchs Signed-off-by: Bjorn Andersson --- drivers/net/wireless/ath/wcn36xx/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireles

Re: [PATCH v4 net-next] net: ipv4: Consider failed nexthops in multipath routes

2016-04-03 Thread Julian Anastasov
Hello, On Sun, 3 Apr 2016, David Ahern wrote: > --- a/Documentation/networking/ip-sysctl.txt > +++ b/Documentation/networking/ip-sysctl.txt > @@ -63,6 +63,16 @@ fwmark_reflect - BOOLEAN > fwmark of the packet they are replying to. > Default: 0 > > +fib_multipath_use_neigh -

Re: [PATCH 2/6] net: ethernet: renesas: ravb_main: test clock rate to avoid division by 0

2016-04-03 Thread Wolfram Sang
On Wed, Mar 02, 2016 at 11:33:33PM +0100, Wolfram Sang wrote: > From: Wolfram Sang > > The clk API may return 0 on clk_get_rate, so we should check the result before > using it as a divisor. > > Signed-off-by: Wolfram Sang Ping. > --- > > Should go individually via subsystem tree. > > driv

[PATCH v4 net-next] net: ipv4: Consider failed nexthops in multipath routes

2016-04-03 Thread David Ahern
Multipath route lookups should consider knowledge about next hops and not select a hop that is known to be failed. Example: [h2] [h3] 15.0.0.5 | | 3| 3|

Re: [PATCH net] vlan: pull on __vlan_insert_tag error path and fix csum correction

2016-04-03 Thread Daniel Borkmann
On 04/02/2016 02:04 AM, Daniel Borkmann wrote: On 04/01/2016 11:28 PM, Daniel Borkmann wrote: On 04/01/2016 09:00 PM, David Miller wrote: From: Daniel Borkmann Date: Fri, 1 Apr 2016 11:41:03 +0200 Moreover, I noticed that when in the non-error path the __skb_pull() is done and the original

[PATCH v3 1/5] net: macb: Fix coding style error message

2016-04-03 Thread Moritz Fischer
checkpatch.pl gave the following error: ERROR: space required before the open parenthesis '(' + for(; p < end; p++, offset += 4) Acked-by: Nicolas Ferre Acked-by: Michal Simek Signed-off-by: Moritz Fischer --- drivers/net/ethernet/cadence/macb.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v3 5/5] net: macb: Fix simple typo

2016-04-03 Thread Moritz Fischer
Acked-by: Michal Simek Acked-by: Nicolas Ferre Signed-off-by: Moritz Fischer --- drivers/net/ethernet/cadence/macb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/cadence/macb.c b/drivers/net/ethernet/cadence/macb.c index 01a8ffb..eec3200 100644 --- a

[PATCH v3 3/5] net: macb: Fix coding style suggestions

2016-04-03 Thread Moritz Fischer
This commit deals with a bunch of checkpatch suggestions that without changing behavior make checkpatch happier. Acked-by: Michal Simek Acked-by: Nicolas Ferre Signed-off-by: Moritz Fischer --- drivers/net/ethernet/cadence/macb.c | 46 +++-- 1 file changed, 24 i

[PATCH v3 0/5] macb: Codingstyle cleanups

2016-04-03 Thread Moritz Fischer
Hi all, resending almost unchanged v2 here: Changes from v2: * Rebased onto net-next * Changed 5th patches commit message * Added Nicholas' and Michal's Acked-Bys Changes from v1: * Backed out variable scope changes * Separated out ether_addr_copy into it's own commit * Fixed typo in comments as

[PATCH v3 2/5] net: macb: Fix coding style warnings

2016-04-03 Thread Moritz Fischer
This commit takes care of the coding style warnings that are mostly due to a different comment style and lines over 80 chars, as well as a dangling else. Acked-by: Nicolas Ferre Signed-off-by: Moritz Fischer --- drivers/net/ethernet/cadence/macb.c | 100 +++- 1 f

[PATCH v3 4/5] net: macb: Use ether_addr_copy over memcpy

2016-04-03 Thread Moritz Fischer
Checkpatch suggests using ether_addr_copy over memcpy to copy the mac address. Acked-by: Michal Simek Acked-by: Nicolas Ferre Signed-off-by: Moritz Fischer --- drivers/net/ethernet/cadence/macb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/cadence/m

Re: [PATCH v2] rds: rds-stress show all zeros after few minutes

2016-04-03 Thread santosh.shilim...@oracle.com
On 4/3/16 5:29 AM, Shamir Rabinovitch wrote: On Thu, Mar 31, 2016 at 04:02:46PM -0400, David Miller wrote: From: shamir rabinovitch Date: Thu, 31 Mar 2016 02:29:22 -0400 Issue can be seen on platforms that use 8K and above page size while rds fragment size is 4K. On those platforms single pag

Re: GDM7240 - NULL pointer dereference

2016-04-03 Thread Alex
Thanks, looks like exactly the same issue, I'll check if it works on 4.5. /--Regards, Alex/ On 03/04/16 15:26, poma wrote: On 03.04.2016 12:15, Alex wrote: Hello, [1.] System hang when connecting USB modem (LU150) [2.] I'm running 4.4.5 kernel (Arch Linux). When this modem is connected I'm get

[PATCH v9 net-next] ravb: Add dma queue interrupt support

2016-04-03 Thread Yoshihiro Kaneko
From: Kazuya Mizuguchi This patch supports the following interrupts. - One interrupt for multiple (timestamp, error, gPTP) - One interrupt for emac - Four interrupts for dma queue (best effort rx/tx, network control rx/tx) This patch improve efficiency of the interrupt handler by adding the int

conntrack.c:(.text+0x3d8075): undefined reference to `nf_nat_icmp_reply_translation'

2016-04-03 Thread Borislav Petkov
Hi people, I'm seeing this while doing randconfig builds on rc1 + tip: net/built-in.o: In function `__ovs_ct_lookup': conntrack.c:(.text+0x3d8075): undefined reference to `nf_nat_icmp_reply_translation' make: *** [vmlinux] Error 1 .config attached. -- Regards/Gruss, Boris. ECO tip #101:

RE: [Intel-wired-lan] [PATCH-RFC] drivers: net: ethernet: intel: e1000e: fix ethtool autoneg off for fiber

2016-04-03 Thread Ruinskiy, Dima
I have a couple of comments (sorry for not getting to it a bit sooner). > For fiber media, e1000_get_settings should return ETH_TP_MDI_INVALID for > eth_tp_mdix_ctrl instead of ETH_TP_MDI_AUTO so subsequent e1000_set_settings > call would not fail with -EOPNOTSUPP. Should this be specific to fibe

[PATCH 1/2] ipv4: l2tp: fix a potential issue in l2tp_ip_recv

2016-04-03 Thread Haishuang Yan
pskb_may_pull() can change skb->data, so we have to load ptr/optr at the right place. Signed-off-by: Haishuang Yan --- net/l2tp/l2tp_ip.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/net/l2tp/l2tp_ip.c b/net/l2tp/l2tp_ip.c index ec22078..42de4cc 100644 --- a/net/l2

[PATCH 2/2] ipv6: l2tp: fix a potential issue in l2tp_ip6_recv

2016-04-03 Thread Haishuang Yan
pskb_may_pull() can change skb->data, so we have to load ptr/optr at the right place. Signed-off-by: Haishuang Yan --- net/l2tp/l2tp_ip6.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/net/l2tp/l2tp_ip6.c b/net/l2tp/l2tp_ip6.c index 6b54ff3..cd47990 100644 --- a/net

[PATCH] netfilter: unnecessary to check whether ip6_route_output() returns NULL

2016-04-03 Thread Haishuang Yan
ip6_route_output() never returns NULL, so it is not appropriate to check if the return value is NULL. Signed-off-by: Haishuang Yan --- net/ipv6/netfilter/nf_reject_ipv6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv6/netfilter/nf_reject_ipv6.c b/net/ipv6/netfilter

Re: PROBLEM: System hang when connecting USB modem (GCT/Yota LU150)

2016-04-03 Thread Bjørn Mork
Alex writes: > Apr 01 11:33:24 arch kernel: BUG: unable to handle kernel NULL pointer > dereference at 0003 > Apr 01 11:33:24 arch kernel: IP: [] > usbnet_generic_cdc_bind+0x171/0x710 [cdc_ether] .. > Apr 01 11:33:24 arch kernel: Call Trace: > Apr 01 11:33:24 arch kernel: [] > gen

Re: [PATCH v2] rds: rds-stress show all zeros after few minutes

2016-04-03 Thread Shamir Rabinovitch
On Thu, Mar 31, 2016 at 04:02:46PM -0400, David Miller wrote: > From: shamir rabinovitch > Date: Thu, 31 Mar 2016 02:29:22 -0400 > > > Issue can be seen on platforms that use 8K and above page size > > while rds fragment size is 4K. On those platforms single page is > > shared between 2 or more r

Re: GDM7240 - NULL pointer dereference

2016-04-03 Thread poma
On 03.04.2016 12:15, Alex wrote: > Hello, > [1.] System hang when connecting USB modem (LU150) > [2.] I'm running 4.4.5 kernel (Arch Linux). When this modem is connected > I'm getting below trace in journal and system becomes unusable - lsusb, > logout and some other operations lead to a complete

[PATCH v3 1/2] RDS: fix "Kernel unaligned access" on sparc64

2016-04-03 Thread Shamir Rabinovitch
Sparc64 expect 64 bit types to be aligned to 8. This patch ensure that memory allocated by 'rds_page_remainder_alloc' will be aligned to 8. This patch fix issue found in 'rds_ib_cong_recv' when accessing unaligned memory using uint64_t pointer. Signed-off-by: Shamir Rabinovitch Reviewed-by: Weng

[PATCH v3 2/2] RDS: fix congestion map corruption for PAGE_SIZE > 8k

2016-04-03 Thread Shamir Rabinovitch
On Sparc64 page size is 8k. So single page contain 2 RDS fragments. If 'rds_ib_cong_recv' ignore the RDS fragment offset in to the page it then read the data fragment as far congestion map update and lead to corruption of the RDS connection far congestion map. This patch require the below patch fo

Re: [RFC PATCH 1/5] bpf: add PHYS_DEV prog type for early driver filter

2016-04-03 Thread Brenden Blanco
On Sat, Apr 02, 2016 at 12:39:45PM -0400, Tom Herbert wrote: > On Fri, Apr 1, 2016 at 9:21 PM, Brenden Blanco wrote: > > Add a new bpf prog type that is intended to run in early stages of the > > packet rx path. Only minimal packet metadata will be available, hence a new > > context type, struct x