Re: RFC about 07a_putative_nested_lock_in_rcv.diff

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Arnaldo Carvalho de Melo wrote:
|  Gerrit,
|  
|          I'm going over the_whole_lot patch queue from you, many thanks
|  for doing this work! About 07a_putative_nested_lock_in_rcv.diff, I
|  haven't studied the bh_lock_sock_nested, lockdep stuff, but can't we
|  just use bh_lock_sock_nested in sk_receive_skb?
I am not sure about that one - I don't know all the functions calling
sk_receive_skb (cscope says ppoe.c / dn_nsp_in.c use this too). 

In the TCP/DCCP case it is clear (due to the cloning while one is held under
a lock), but for other contexts it might be different and cause subtle problems.

Gerrit
-
To unsubscribe from this list: send the line "unsubscribe dccp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [IETF DCCP]     [Linux Networking]     [Git]     [Security]     [Linux Assembly]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux