Re: 2.4.20: MSG_PEEK+MSG_OOB crash

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

 



   From: Thomas Quinot <thomas@cuivre.fr.eu.org>
   Date: Thu, 9 Jan 2003 11:35:20 +0100

   Le 2003-01-09, David S. Miller écrivait :
   
   >    NET: XXXXX mesages suppressed
   > Type 'dmesg' and you'll see the rest of the messages.  It works
   
   I can't do that, unfortunately... All VTs are completely unresponsive
   once I run this program. I have reproduced this problem with 2.4.2,
   2.4.18 (two different machines), 2.4.19 and 2.4.20.
   
Funny, as those messages which would be triggered by your program
don't even exist in the sources before ~2.4.19

   > TCP(foo:735): Application bug, race in MSG_PEEK.
   
   This looks very strange to me. The application code is perfectly
   correct as far as I am able to determine.
    
Nope, your code is racy.  Your application is going to race with
the kernel side URG processing.  You cannot mix URG and MSG_PEEK,
that is a fact.

Franks a lot,
David S. Miller
davem@redhat.com
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux