Re: [PATCH] cxgb4: correctly handling failed allocation

2016-01-04 Thread David Miller
From: Insu Yun Date: Tue, 29 Dec 2015 17:20:11 -0500 > Since t4_alloc_mem can be failed in memory pressure, > if not properly handled, NULL dereference could be happened. > > Signed-off-by: Insu Yun Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: [PATCH] cxgb4: correctly handling failed allocation

2016-01-04 Thread David Miller
From: Insu Yun Date: Tue, 29 Dec 2015 17:20:11 -0500 > Since t4_alloc_mem can be failed in memory pressure, > if not properly handled, NULL dereference could be happened. > > Signed-off-by: Insu Yun Applied. -- To unsubscribe from this list: send the line

[PATCH] cxgb4: correctly handling failed allocation

2015-12-29 Thread Insu Yun
Since t4_alloc_mem can be failed in memory pressure, if not properly handled, NULL dereference could be happened. Signed-off-by: Insu Yun --- drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c

[PATCH] cxgb4: correctly handling failed allocation

2015-12-29 Thread Insu Yun
Since t4_alloc_mem can be failed in memory pressure, if not properly handled, NULL dereference could be happened. Signed-off-by: Insu Yun --- drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c | 4 1 file changed, 4 insertions(+) diff --git