Skip to contentSkip to conversation

iw_cxgb4: remove the stid on listen create failure

PATCH In review Steve Wise 2 participants 4 messages Sep 5, 2017 – Sep 15, 2017

Subsystems (3)
lore
Share & tools
lore

Steve Wise

author
#0 lore raw

PATCH 3/3 iw_cxgb4: remove the stid on listen create failure

---
 drivers/infiniband/hw/cxgb4/cm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/infiniband/hw/cxgb4/cm.c +1 -1
index d76bfe3..ca846fb 100644
@@ -3463,7 +3463,7 @@ int c4iw_create_listen(struct iw_cm_id *cm_id, int backlog)
 		cm_id->provider_data = ep;
 		goto out;
 	}
-
+	remove_handle(ep->com.dev, &ep->com.dev->stid_idr, ep->stid);
 	cxgb4_free_stid(ep->com.dev->rdev.lldi.tids, ep->stid,
 			ep->com.local_addr.ss_family);
 fail2:
Signature · 1 line
1.8.3.1
maintainer
#1 lore raw
Quoted 4 lines · Steve Wise
---
 drivers/infiniband/hw/cxgb4/cm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

I know I sure don't take patches without changelog text, and for sure that could never go into a stable tree...

author
#2 lore raw
Quoted 10 lines

Subject: Re: [PATCH 3/3] iw_cxgb4: remove the stid on listen create failure

Quoted 4 lines · Steve Wise
---
 drivers/infiniband/hw/cxgb4/cm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

I know I sure don't take patches without changelog text, and for sure that could never go into a stable tree...

I thought the one line commit log was sufficient. I'll be more verbose.

Thanks,

Steve.

maintainer
#3 lore raw
Quoted 8 lines · Steve Wise
Quoted 8 lines

Subject: Re: [PATCH 3/3] iw_cxgb4: remove the stid on listen create failure

Quoted 4 lines · Steve Wise
---
 drivers/infiniband/hw/cxgb4/cm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 4 lines
Quoted 2 lines

I know I sure don't take patches without changelog text, and for sure that could never go into a stable tree...

I thought the one line commit log was sufficient. I'll be more verbose.

All you are saying in the subject was _what_ you did, which does nothing to explain _why_ you did it. Especially for something you feel needs to be fixed in older kernels you need to explain why it is all needed.

Changelog descriptions are hard, usually harder than writing the original patch. Welcome to good software engineering practices :)

thanks,

greg k-h