Re: [PATCH v4 0/10] skb paged fragment destructors
From: Bart Van Assche <bvanassche@acm.org>
Date: 2012-04-11 10:02:17
On 04/10/12 15:50, Ian Campbell wrote:
On Tue, 2012-04-10 at 16:46 +0100, Bart Van Assche wrote:quoted
Great to see v4 of this patch series. But which kernel version has this patch series been based on ? I've tried to apply this series on 3.4-rc2It's based on net-next/master. Specifically commit de8856d2c11f.
Thanks, that information allowed me to apply the patch series and to
test it with kernel 3.4-rc2 and iSCSI target code. The test ran fine.
The failure to apply this patch series on 3.4-rc2 I had reported turned
out to be an easy to resolve merge conflict:
+ static int ceph_tcp_sendpage(struct socket *sock, struct page *page,
+ int offset, size_t size, int more)
+ {
+ int flags = MSG_DONTWAIT | MSG_NOSIGNAL | (more ? MSG_MORE : MSG_EOR);
+ int ret;
+
- ret = kernel_sendpage(sock, page, offset, size, flags);
++ ret = kernel_sendpage(sock, page, NULL, offset, size, flags);
+ if (ret == -EAGAIN)
+ ret = 0;
+
+ return ret;
+ }
+
Bart.