commit | eb72f74f03125a3a80fb98f41e5aba55cad70c8c | [log] [tgz] |
---|---|---|
author | Hariprasad Shenai <hariprasad@chelsio.com> | Wed Dec 09 17:16:35 2015 +0530 |
committer | David S. Miller <davem@davemloft.net> | Fri Dec 11 20:15:23 2015 -0500 |
tree | f5cc42a36e753a6687245fa64d9f542c9f4fbbac | |
parent | 515123e286b686d32256342318f20ff932ebac1b [diff] |
cxgb4: Handle clip return values 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 <hariprasad@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>