3.7-rc2 regression : file copied to CIFS-mounted directory corrupted

Message ID 1350972528.8609.1431.camel@edumazet-glaptop
State RFC, archived
Delegated to: David Miller
Headers show

Commit Message

Eric Dumazet Oct. 23, 2012, 6:08 a.m.
On Tue, 2012-10-23 at 05:38 +0000, Jongman Heo wrote:
> Hmm,
> I've just met the issue, with the commit 5640f768 reverted.
> It seems that the issue does not always happen. So, my bisection may not be correct.
> At this moment, I don't have enough time to do bisection again..
> Regards.

What happens, if instead of reverting you try the following ?

If this solves the problem, then we shall find the driver that assumes
frags are order-0 pages only.

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


diff --git a/net/core/sock.c b/net/core/sock.c
index 8a146cf..a743e7c 100644
--- a/net/core/sock.c
+++ b/net/core/sock.c
@@ -1726,7 +1726,7 @@  struct sk_buff *sock_alloc_send_skb(struct sock *sk, unsigned long size,
 /* On 32bit arches, an skb frag is limited to 2^15 */
-#define SKB_FRAG_PAGE_ORDER	get_order(32768)
 bool sk_page_frag_refill(struct sock *sk, struct page_frag *pfrag)