Re: [PATCH v2] IB/rxe: don't crash, if allocation of crc algorithm failed

2017-11-10 Thread Doug Ledford
On Tue, 2017-10-31 at 11:16 +0100, Thomas Bogendoerfer wrote: > Following crash happens, if crc algorithm couldn't be allocated: > > [ 1087.989072] rdma_rxe: loaded > [ 1097.855397] PCLMULQDQ-NI instructions are not detected. > [ 1097.901220] rdma_rxe: failed to allocate crc algorithmi err:-2 > [

Re: [PATCH v2] IB/rxe: don't crash, if allocation of crc algorithm failed

2017-10-31 Thread Moni Shoua
On Tue, Oct 31, 2017 at 12:16 PM, Thomas Bogendoerfer wrote: > Following crash happens, if crc algorithm couldn't be allocated: > > [ 1087.989072] rdma_rxe: loaded > [ 1097.855397] PCLMULQDQ-NI instructions are not detected. > [ 1097.901220] rdma_rxe: failed to allocate crc algorithmi err:-2 > [ 1

Re: [PATCH v2] IB/rxe: don't crash, if allocation of crc algorithm failed

2017-10-31 Thread Leon Romanovsky
On Tue, Oct 31, 2017 at 11:16:46AM +0100, Thomas Bogendoerfer wrote: > Following crash happens, if crc algorithm couldn't be allocated: > > [ 1087.989072] rdma_rxe: loaded > [ 1097.855397] PCLMULQDQ-NI instructions are not detected. > [ 1097.901220] rdma_rxe: failed to allocate crc algorithmi err:-

[PATCH v2] IB/rxe: don't crash, if allocation of crc algorithm failed

2017-10-31 Thread Thomas Bogendoerfer
Following crash happens, if crc algorithm couldn't be allocated: [ 1087.989072] rdma_rxe: loaded [ 1097.855397] PCLMULQDQ-NI instructions are not detected. [ 1097.901220] rdma_rxe: failed to allocate crc algorithmi err:-2 [ 1097.901248] BUG: unable to handle kernel [ 1097.901249] NULL pointer dere