Re: [PATCH net-next-2.6] net: replace hooks in __netif_receive_skb

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jiri Pirko
Date: Thursday, May 27, 2010 - 7:57 am

Thu, May 27, 2010 at 04:06:54PM CEST, kaber@trash.net wrote:

Noted.

Ok, I thought this won't be necessary in this case, but right, looks better.

No, I can use enum, but this "inlining" gives a person who is looking at the
code the connection on the first look.


Right, I will use rather rtnl_lock as suggested by Stephen.


Well I'm not using list_for_each_entry because I use the list_head cursor as a
head in list_add_rcu (add_after assignment)



Thanks all for comments, I'll send V2 soon
--
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
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH net-next-2.6] net: replace hooks in __netif_rec ..., Stephen Hemminger, (Thu May 27, 7:47 am)
Re: [PATCH net-next-2.6] net: replace hooks in __netif_rec ..., Jiri Pirko, (Thu May 27, 7:57 am)