Re: [PATCH net-next] cxgb4: Handle clip return values

2015-12-11 Thread David Miller
From: Hariprasad Shenai Date: Wed, 9 Dec 2015 17:16:35 +0530 > Add a warn message when clip table overflows. If clip table isn't > allocated, return from cxgb4_clip_release() to avoid panic. > Disable offload if clip isn't enabled in the hardware. > > Signed-off-by: Hariprasad Shenai Applied,

[PATCH net-next] cxgb4: Handle clip return values

2015-12-09 Thread Hariprasad Shenai
Add a warn message when clip table overflows. If clip table isn't allocated, return from cxgb4_clip_release() to avoid panic. Disable offload if clip isn't enabled in the hardware. Signed-off-by: Hariprasad Shenai --- drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c | 11 +++ drivers/net/