commit | 60e2e8b399ca58bf1954d36aee2cc78f923851c9 | [log] [tgz] |
---|---|---|
author | Don Fry <pcnet32@frontier.com> | Mon Feb 17 20:57:46 2014 -0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Feb 19 14:58:26 2014 -0500 |
tree | bbdf7ed8a90eaa9030b55c212a820be6d2850dc1 | |
parent | 1e8d6421cff2c24fe0b345711e7a21af02e8bcf5 [diff] |
pcnet32: fix reallocation error pcnet32_realloc_rx_ring() only worked on the first log2 number of entries in the receive ring instead of the all the entries. Replaced "1 << size" with more descriptive variable. This is my original bug from 2006. Found while testing another problem. Tested on 79C972 and 79C976. Signed-off-by: Don Fry <pcnet32@frontier.com> Signed-off-by: David S. Miller <davem@davemloft.net>