Thread (12 messages) flat view 12 messages, 3 authors, 2012-07-05

Re: [PATCH net-next 1/2] ipv6: remove unnecessary codes in tcp_ipv6.c

From: Eric Dumazet <hidden>
Date: 2012-07-02 08:54:46

On Mon, 2012-07-02 at 10:13 +0200, Eric Dumazet wrote:
Note that the old one is the np->opt of the listener, not the child.

I dont understand how np->opt could change under us, since we have
the listener socket locked.

If np->opt can change under us, we are doomed and need to add refcounts.
Hmm, it seems net/ipv6/udp.c uses np->opt outside of the
lock_sock()/release_sock(sk) boundary.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help