diff options
author | Pavel Belous <pavel.belous@aquantia.com> | 2017-02-20 20:36:48 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-20 23:11:09 +0100 |
commit | c0788f7463f138bb1d30552b3edac442781b4e11 (patch) | |
tree | 5bfd232af73b0fccafaf68724846b97649c8eb64 /lib | |
parent | net: ethernet: aquantia: Call netdev_register after all initialized. (diff) | |
download | linux-c0788f7463f138bb1d30552b3edac442781b4e11.tar.xz linux-c0788f7463f138bb1d30552b3edac442781b4e11.zip |
net: ethernet: aquantia: Fixed incorrect buff->len calculation.
rxd_wb->pkt_len is the total length of the packet.
If we received a large packet (with length > AQ_CFG_RX_FRAME_MAX) then we
will get multiple buffers. We need to fix the length of the last buffer.
Signed-off-by: Pavel Belous <pavel.belous@aquantia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions