2013/1/21, Dan Carpenter <dan.carpenter@xxxxxxxxxx>: > I sometimes write little user space programs to help me check my > work. I've attached one. > > gcc test.c > ./a.out > > regards, > dan carpenter > Hi Dan. Thanks for testcase. I understand fully. list_for_each still use pos after removing pos in loop. So, we need to use _safe function to get pos->next safely. Thanks. -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html