From: Evgeniy Polyakov <johnpol@2ka.mipt.ru> Date: Fri, 28 Mar 2008 12:20:36 +0300It is well known that between when a page is given to sendfile path and it is actually transmitted to the network the kernel can write into that page multiple times. That's why we only allow sendfile over device paths that support checksum offloading, since the page contents can change freely at any moment in time. The refrence counting is to prevent leaks, rather than to protect the integrity of the contents. If content protection is desired, higher level things are needed. For example, SAMBA only uses sendfile() if the remote client has an OP lock on the file in question. -- 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
| david | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
| David Miller | Re: [RFC/PATCH] Documentation of kernel messages |
| Tony Lindgren | [PATCH 48/90] ARM: OMAP: I2C-1 init fix for 2430 |
git: | |
| Josip Rodin | bnx2_poll panicking kernel |
| Gerrit Renker | [PATCH 03/37] dccp: List management for new feature negotiation |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
