commit | 81496b72e9ba1999d4ed7bb7fa407a1edef020a4 | [log] [tgz] |
---|---|---|
author | Heiner Kallweit <hkallweit1@gmail.com> | Thu Apr 30 21:59:48 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 30 17:39:15 2020 -0700 |
tree | 5cc4206fb21ba30d22bf24248c14ccd8c2577b14 | |
parent | 2b3e48b66516602d7d63142cda84b554f908eb54 [diff] |
r8169: add check for invalid parameter combination in rtl_set_coalesce Realtek provided information about a HW constraint that time limit must not be set to 0 if the frame limit is >0. Add a check for this and reject invalid parameter combinations. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>