summaryrefslogtreecommitdiff
path: root/drivers/ssb/Makefile
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2014-05-30 11:31:05 +0400
committerDavid S. Miller <davem@davemloft.net>2014-06-03 03:01:30 +0400
commitf42763dbdf043c9996dfabf6d167eab28e016eb8 (patch)
tree87ac340cfb756e9b725f18f2d7b99be3414e68fd /drivers/ssb/Makefile
parent1ba5d0ff36f765a571c83b55b13ec44f4050fb5b (diff)
downloadlinux-f42763dbdf043c9996dfabf6d167eab28e016eb8.tar.xz
net: cdc_ncm: inform usbnet when rx buffers are reduced
It doesn't matter whether the buffer size goes up or down. We have to keep usbnet and device syncronized to be able to split transfers at the correct boundaries. The spec allow skipping short packets when using max sized transfers. If we don't tell usbnet about our new expected rx buffer size, then it will merge and/or split NTBs. The driver does not support this, and the result will be lots of framing errors. Fix by always reallocating usbnet rx buffers when the rx_max value changes. Fixes: 68864abf08f0 ("net: cdc_ncm: support rx_max/tx_max updates when running") Signed-off-by: Bjørn Mork <bjorn@mork.no> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ssb/Makefile')
0 files changed, 0 insertions, 0 deletions