f_phonet: avoid pskb_pull(), fix OOPS with CONFIG_HIGHMEM
authorRémi Denis-Courmont <remi.denis-courmont@nokia.com>
Wed, 23 Feb 2011 02:51:33 +0000 (02:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Feb 2011 20:36:39 +0000 (12:36 -0800)
commitf5a45325284ec10a907b96052ebf2168e7166b5c
treeda1ab58a1a9ca9b6e790672761782bc6eb9dbf39
parent9eb0e6f26e48ef22cc56a2b81b1572ace999f70f
f_phonet: avoid pskb_pull(), fix OOPS with CONFIG_HIGHMEM

This is similar to what we already do in cdc-phonet.c in the same
situation. pskb_pull() refuses to work with HIGHMEM, even if it is
known that the socket buffer is entirely in "low" memory.

Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/usb/gadget/f_phonet.c