cdc-phonet: fix skb truesize underestimation
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 27 Mar 2012 03:17:26 +0000 (03:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Mar 2012 02:50:55 +0000 (22:50 -0400)
commit094b5855bf37eae4b297bc47bb5bc5454f1f6fab
treeb3ec026e256c2ea20a755b13f36e541dbf11df5d
parent21dcda6083a0573686acabca39b3f92ba032d333
cdc-phonet: fix skb truesize underestimation

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 <eric.dumazet@gmail.com>
Cc: Felipe Balbi <balbi@ti.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
Acked-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/cdc-phonet.c