Thread (5 messages) flat view 5 messages, 3 authors, 2003-09-16

Re: [PATCH] tiny af_packet.c cleanup

From: Mitchell Blank Jr <mitch@sfgoth.com>
Date: 2003-09-14 11:26:28

Francois Romieu wrote:
See previously posted patch. Imho the non-trivial part isn't the locking
itself but the fact that the first test of sk->sk_filter is done _without_
lock.
OK, that was what I thought was going on.  I figured the short comment (along
with the likely()) would explain this adequately (i.e. "we're now re-checking
under lock so we get the authorative answer") but maybe it needs more
explaination.

-Mitch
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help