summaryrefslogtreecommitdiff
path: root/net/mptcp/sockopt.c
diff options
context:
space:
mode:
authorStefan Chulski <stefanc@marvell.com>2021-05-25 19:04:41 +0300
committerDavid S. Miller <davem@davemloft.net>2021-05-26 01:49:04 +0300
commit17f9c1b63cdd4439523cfcdf5683e5070b911f24 (patch)
tree25527f7db212ac4287f968b505dad7f336a92e6a /net/mptcp/sockopt.c
parent65161c35554f7135e6656b3df1ce2c500ca0bdcf (diff)
downloadlinux-17f9c1b63cdd4439523cfcdf5683e5070b911f24.tar.xz
net: mvpp2: add buffer header handling in RX
If Link Partner sends frames larger than RX buffer size, MAC mark it as oversize but still would pass it to the Packet Processor. In this scenario, Packet Processor scatter frame between multiple buffers, but only a single buffer would be returned to the Buffer Manager pool and it would not refill the poll. Patch add handling of oversize error with buffer header handling, so all buffers would be returned to the Buffer Manager pool. Fixes: 3f518509dedc ("ethernet: Add new driver for Marvell Armada 375 network unit") Reported-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: Stefan Chulski <stefanc@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mptcp/sockopt.c')
0 files changed, 0 insertions, 0 deletions