Thread (7 messages) 7 messages, 3 authors, 2005-03-28

Re: [PATCH] rtnl_unlock/lock in sch_api.c

From: Catalin(ux aka Dino) BOIE <hidden>
Date: 2005-03-28 22:27:07

On Mon, 28 Mar 2005, Thomas Graf wrote:
Looks good, except...
quoted
+				err = -EAGAIN;
You're missing a goto err_out here, the ops == NULL won't catch it.
quoted
+			}
 		}
 	}
 #endif

-	err = -EINVAL;
 	if (ops == NULL)
 		goto err_out;
With the above goto inserted there is no need to move the err = -EINVAL.
Thanks, Thomas.

You are right.

I'm redoind the patch right now.

---
Catalin(ux aka Dino) BOIE
catab at deuroconsult.ro
http://kernel.umbrella.ro/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help