summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-merrifield.c
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2017-12-06 22:21:24 +0300
committerDavid S. Miller <davem@davemloft.net>2017-12-07 22:32:30 +0300
commita4abd7a80addb4a9547f7dfc7812566b60ec505c (patch)
tree2e12cda983f7c8c7c0ffe64e5ed65759b7263a54 /drivers/gpio/gpio-merrifield.c
parent8632385022f2b05a6ca0b9e0f95575865de0e2ce (diff)
downloadlinux-a4abd7a80addb4a9547f7dfc7812566b60ec505c.tar.xz
usbnet: fix alignment for frames with no ethernet header
The qmi_wwan minidriver support a 'raw-ip' mode where frames are received without any ethernet header. This causes alignment issues because the skbs allocated by usbnet are "IP aligned". Fix by allowing minidrivers to disable the additional alignment offset. This is implemented using a per-device flag, since the same minidriver also supports 'ethernet' mode. Fixes: 32f7adf633b9 ("net: qmi_wwan: support "raw IP" mode") Reported-and-tested-by: Jay Foster <jay@systech.com> Signed-off-by: Bjørn Mork <bjorn@mork.no> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/gpio/gpio-merrifield.c')
0 files changed, 0 insertions, 0 deletions