diff options
author | 2020-02-20 15:54:56 +0100 | |
---|---|---|
committer | 2020-02-20 10:30:47 -0800 | |
commit | 54a61fbc020fd2e305680871c453abcf7fc0339b (patch) | |
tree | 8f3a001e656ec08d2279a6557ebfa08760250fcf /lib/test_overflow.c | |
parent | s390/qeth: don't warn for napi with 0 budget (diff) | |
download | wireguard-linux-54a61fbc020fd2e305680871c453abcf7fc0339b.tar.xz wireguard-linux-54a61fbc020fd2e305680871c453abcf7fc0339b.zip |
s390/qeth: fix off-by-one in RX copybreak check
The RX copybreak is intended as the _max_ value where the frame's data
should be copied. So for frame_len == copybreak, don't build an SG skb.
Fixes: 4a71df50047f ("qeth: new qeth device driver")
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions