summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDon Fry <pcnet32@frontier.com>2014-02-17 20:57:46 -0800
committerDavid S. Miller <davem@davemloft.net>2014-02-19 14:58:26 -0500
commit60e2e8b399ca58bf1954d36aee2cc78f923851c9 (patch)
treebbdf7ed8a90eaa9030b55c212a820be6d2850dc1 /include/linux
parent1e8d6421cff2c24fe0b345711e7a21af02e8bcf5 (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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions