From: Eric Dumazet <hidden> Date: 2012-03-27 13:04:02
Now skb_add_rx_frag() has a truesize parameter, we can fix f_phonet to
properly account truesize of each fragment : a full page.
Signed-off-by: Eric Dumazet <redacted>
Cc: Felipe Balbi <redacted>
Cc: Greg Kroah-Hartman <redacted>
Cc: Rémi Denis-Courmont <redacted>
---
drivers/usb/gadget/f_phonet.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -345,7 +345,7 @@ static void pn_rx_complete(struct usb_ep *ep, struct usb_request *req)}skb_add_rx_frag(skb,skb_shinfo(skb)->nr_frags,page,-skb->len<=1,req->actual,req->actual);+skb->len<=1,req->actual,PAGE_SIZE);page=NULL;if(req->actual<req->length){/* Last fragment */--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
From: Eric Dumazet <hidden> Date: 2012-03-27 13:17:31
Now skb_add_rx_frag() has a truesize parameter, we can fix cdc-phonet to
properly account truesize of each fragment : a full page.
Signed-off-by: Eric Dumazet <redacted>
Cc: Felipe Balbi <redacted>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Rémi Denis-Courmont <redacted>
---
drivers/net/usb/cdc-phonet.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Le mardi 27 mars 2012 06:17:26 ext Eric Dumazet a écrit :
Now skb_add_rx_frag() has a truesize parameter, we can fix cdc-phonet to
properly account truesize of each fragment : a full page.
Signed-off-by: Eric Dumazet <redacted>
Cc: Felipe Balbi <redacted>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Rémi Denis-Courmont <redacted>
From: David Miller <hidden> Date: 2012-03-28 02:51:15
From: Eric Dumazet <redacted>
Date: Tue, 27 Mar 2012 06:17:26 -0700
Now skb_add_rx_frag() has a truesize parameter, we can fix cdc-phonet to
properly account truesize of each fragment : a full page.
Signed-off-by: Eric Dumazet <redacted>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
From: David Miller <davem@davemloft.net> Date: 2012-03-28 02:51:19
From: Eric Dumazet <redacted>
Date: Tue, 27 Mar 2012 06:04:02 -0700
Now skb_add_rx_frag() has a truesize parameter, we can fix f_phonet to
properly account truesize of each fragment : a full page.
Signed-off-by: Eric Dumazet <redacted>
From: Felipe Balbi <hidden> Date: 2012-03-28 08:56:07
On Tue, Mar 27, 2012 at 10:51:09PM -0400, David Miller wrote:
From: Eric Dumazet <redacted>
Date: Tue, 27 Mar 2012 06:04:02 -0700
quoted
Now skb_add_rx_frag() has a truesize parameter, we can fix f_phonet to
properly account truesize of each fragment : a full page.
Signed-off-by: Eric Dumazet <redacted>
From: David Miller <davem@davemloft.net> Date: 2012-03-28 09:33:26
From: Felipe Balbi <redacted>
Date: Wed, 28 Mar 2012 11:55:36 +0300
On Tue, Mar 27, 2012 at 10:51:09PM -0400, David Miller wrote:
quoted
From: Eric Dumazet <redacted>
Date: Tue, 27 Mar 2012 06:04:02 -0700
quoted
Now skb_add_rx_frag() has a truesize parameter, we can fix f_phonet to
properly account truesize of each fragment : a full page.
Signed-off-by: Eric Dumazet <redacted>