aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/socionext
diff options
context:
space:
mode:
authorStefan Wahren <stefan.wahren@i2se.com>2018-11-08 14:38:21 +0100
committerDavid S. Miller <davem@davemloft.net>2018-11-08 19:41:01 -0800
commit026b907d58c48b2ff2a4c04a67bb5f71ebda1f2d (patch)
tree80acab764c725b1c4141bfadb838a3ac9cc8934a /drivers/net/ethernet/socionext
parentsock: Reset dst when changing sk_mark via setsockopt (diff)
downloadlinux-dev-026b907d58c48b2ff2a4c04a67bb5f71ebda1f2d.tar.xz
linux-dev-026b907d58c48b2ff2a4c04a67bb5f71ebda1f2d.zip
net: qca_spi: Add available buffer space verification
Interferences on the SPI line could distort the response of available buffer space. So at least we should check that the response doesn't exceed the maximum available buffer space. In error case increase a new error counter and retry it later. This behavior avoids buffer errors in the QCA7000, which results in an unnecessary chip reset including packet loss. Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/socionext')
0 files changed, 0 insertions, 0 deletions