Am Donnerstag, 6. Dezember 2007 03:25 schrieb David Miller:Of course not. Applications must not care about what happens at the transport layer. ... and as O_CREAT on open() isn't specifically documented to apply to filenames starting with 'a', it is perfectly normal that "echo x >ash" always fails since 2.6.22. To revert to the old behaviour, please do "echo 1 Ok, irony aside. Just have a look at http://www.opengroup.org/onlinepubs/009695399/functions/connect.html (I hope 009695399 is not a personalition cookie ;-) "If the connection cannot be established immediately and O_NONBLOCK is set for the file descriptor for the socket, connect() shall fail and set errno to [EINPROGRESS], but the connection request shall not be aborted, and the connection shall be established asynchronously." I think the words "shall fail" and "immediately" are quite clear. Well, the only reason this doesn't break on a daily basis is because the code isn't in the kernel that long and not many people run applications on an IPSEC gateway. This will change if kernel based IPSEC is used for roadwarrior connections or dnssec based anonymous IPSEC someday. Trust me, you will revert this misbehaviour in -stable then. For some real life applications that break when nonblocking connect() blocks, please look f.e. at squid or mozilla firefox. Stefan -- 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
| Robin Lee Powell | NFS hang + umount -f: better behaviour requested. |
| Linus Torvalds | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| S.Çağlar | Rescheduling interrupts |
| J.A. | Linux 2.6.27-git3: rtl8169 oops and wireless missing symbols |
git: | |
| A Large Angry SCM | Notes on Using Git with Subprojects |
| Michael S. Tsirkin | git-kill: rewrite history removing a commit |
| Aubrey Li | git proxy issue |
| Luke Diamand | perforce import: git-p4 memory usage |
| mufurcz | Nvidia Quadro NVS 140M |
| Juan Miscaro | When will OpenBSD support UTF8? |
| Jeff Ross | U320 Drive on U160 controller? |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Jeff Garzik | Re: [PATCH] Add eeprom_bad_csum_allow module option to e1000. |
| Martin Willi | [RFC PATCH] xfrm: Accept XFRM_STATE_AF_UNSPEC SAs on IPv4/IPv6 only hosts |
| PJ Waskiewicz | [PATCH 3/3] ixgbe: Enable Data Center Bridging (DCB) support |
| David Miller | Re: [RFC,PATCH] loopback: calls netif_receive_skb() instead of netif_rx() |
