| Submitter | sjur.brandeland@stericsson.com |
|---|---|
| Date | April 11, 2011, 8:11 p.m. |
| Message ID | <1302552691-11874-2-git-send-email-sjur.brandeland@stericsson.com> |
| Download | mbox | patch |
| Permalink | /patch/90646/ |
| State | Accepted |
| Delegated to: | David Miller |
| Headers | show |
Comments
From: sjur.brandeland@stericsson.com Date: Mon, 11 Apr 2011 22:11:29 +0200 > From: Sjur Brændeland <sjur.brandeland@stericsson.com> > > Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com> Applied. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Patch
diff --git a/net/caif/cfmuxl.c b/net/caif/cfmuxl.c index 6bb338d..fc24974 100644 --- a/net/caif/cfmuxl.c +++ b/net/caif/cfmuxl.c @@ -205,9 +205,9 @@ static void cfmuxl_ctrlcmd(struct cflayer *layr, enum caif_ctrlcmd ctrl, int phyid) { struct cfmuxl *muxl = container_obj(layr); - struct list_head *node; + struct list_head *node, *next; struct cflayer *layer; - list_for_each(node, &muxl->srvl_list) { + list_for_each_safe(node, next, &muxl->srvl_list) { layer = list_entry(node, struct cflayer, node); if (cfsrvl_phyid_match(layer, phyid)) layer->ctrlcmd(layer, ctrl, phyid);