diff options
author | Julian Wiedmann <jwi@linux.vnet.ibm.com> | 2017-10-18 17:40:23 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-20 13:11:05 +0100 |
commit | 864c17c3d83be6a1f6a2888566e93e114986abca (patch) | |
tree | 4b1259cbb2a4434eb9baf8cbf4b49681601cc807 /kernel/bpf/arraymap.c | |
parent | 8d68af6af6b4f76eac4f9abf584b4ea356f638c0 (diff) | |
download | linux-864c17c3d83be6a1f6a2888566e93e114986abca.tar.gz linux-864c17c3d83be6a1f6a2888566e93e114986abca.tar.bz2 linux-864c17c3d83be6a1f6a2888566e93e114986abca.zip |
s390/qeth: try harder to get packets from RX buffer
Current code bails out when two subsequent buffer elements hold
insufficient data to contain a qeth_hdr packet descriptor.
This seems reasonable, but it would be legal for quirky hardware to
leave a few elements empty and then present packets in a subsequent
element. These packets would currently be dropped.
So make sure to check all buffer elements, until we hit the LAST_ENTRY
indication.
Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions