RE: BUG: RDMA/ocrdma calls invalid vlan_dev_real_dev()

2012-08-10 Thread Parav.Pandit
I'll provide you fix in short while. Parav -Original Message- From: Fengguang Wu [mailto:fengguang...@intel.com] Sent: Friday, August 10, 2012 5:39 AM To: Roland Dreier Cc: linux-rdma@vger.kernel.org; Pandit, Parav; Sean Hefty; linux- ker...@vger.kernel.org Subject: Re: BUG:

[PATCH] RDMA/ocrdma: Fixed CONFIG_VLAN_8021Q.

2012-08-10 Thread Parav Pandit
Fixed avoiding checking real vlan dev in scenario when VLAN is disabled and ipv6 is enabled. Signed-off-by: Parav Pandit parav.pan...@emulex.com --- drivers/infiniband/hw/ocrdma/ocrdma_main.c | 16 1 files changed, 12 insertions(+), 4 deletions(-) diff --git

[PATCH 1/2] ibsim/sim.h: Add support for optional performance attributes.

2012-08-10 Thread Huang, Perry
Add support for optional performance counters detailed in IB Arch Release 1.2.1 16.1.4.[1-8]. Does not include congestion attributes. Signed-off-by: Perry Huang huan...@llnl.gov --- ibsim/sim.h | 89 +++ 1 files changed, 89

[PATCH] IB/mlx4: check iboe netdev pointer before dereferencing it

2012-08-10 Thread Kleber Sacilotto de Souza
Unlike other parts of the mlx4_ib code, the function build_mlx_header() doesn't check if the iboe netdev of the given port is valid before derefering it, which can cause a crash if the ethernet interface has already been taken down. This patch fixes the problem by checking for a valid netdev

Re: [PATCH] RDMA/ucma.c: Different fix for ucma context uid=0, causing iWarp RDMA applications to fail in connection establishment

2012-08-10 Thread Roland Dreier
On Sat, Aug 4, 2012 at 11:48 PM, Hefty, Sean sean.he...@intel.com wrote: Roland, there's a race here where ucma_set_event_context() copies ctx-uid to the event structure outside of the mutex. Once the mutex is acquired, ctx-uid is checked. However, the uid could have changed between saving

RE: [PATCH] RDMA/ucma.c: Different fix for ucma context uid=0, causing iWarp RDMA applications to fail in connection establishment

2012-08-10 Thread Hefty, Sean
Roland, there's a race here where ucma_set_event_context() copies ctx-uid to the event structure outside of the mutex. Once the mutex is acquired, ctx-uid is checked. However, the uid could have changed between saving it off to the event and checking it. OK. So then this patch,

Re: IB softirq race

2012-08-10 Thread Roland Dreier
On Fri, Aug 10, 2012 at 6:03 AM, Sebastian Riemer sebastian.rie...@profitbricks.com wrote: we've got a gateway machine which is connected to the internet via ethernet and is connected with our KVM VMs-providing cloud infrastructure via IB. There must have been a race with softirqs. We've got a