summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2021-03-31 23:08:49 +0300
committerDavid S. Miller <davem@davemloft.net>2021-03-31 14:57:43 -0700
commit2fa423f5f0c6891effd4d5c8bdb91d418001da11 (patch)
tree8bec7e75230798b2d4aed13c3d790697f321631f /include/linux
parent0d7a7b2014b1a499a0fe24c9f3063d7856b5aaaf (diff)
downloadcachepc-linux-2fa423f5f0c6891effd4d5c8bdb91d418001da11.tar.gz
cachepc-linux-2fa423f5f0c6891effd4d5c8bdb91d418001da11.zip
net: enetc: consume the error RX buffer descriptors in a dedicated function
We can and should check the RX BD errors before starting to build the skb. The only apparent reason why things are done in this backwards order is to spare one call to enetc_rxbd_next. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions