diff options
author | Prasad J Pandit <pjp@fedoraproject.org> | 2017-02-02 16:16:24 +0530 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2017-02-15 11:18:57 +0800 |
commit | 81f17e0d435c3db3a3e67e0d32ebf9c98973211f (patch) | |
tree | f4433c22c4eaf80f765f1c0cbb2336b3ed809f68 /iothread.c | |
parent | a935cc3132aea175502f76c06eba7a78521ef3ba (diff) |
net: imx: limit buffer descriptor count
i.MX Fast Ethernet Controller uses buffer descriptors to manage
data flow to/fro receive & transmit queues. While transmitting
packets, it could continue to read buffer descriptors if a buffer
descriptor has length of zero and has crafted values in bd.flags.
Set an upper limit to number of buffer descriptors.
Reported-by: Li Qiang <liqiang6-s@360.cn>
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'iothread.c')
0 files changed, 0 insertions, 0 deletions