commit | 810d8cedcc880dca8b64e05fe1331ab5d4f8d992 | [log] [tgz] |
---|---|---|
author | Vincenzo Maffione <v.maffione@gmail.com> | Sat Apr 12 11:55:40 2014 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sat Apr 12 16:49:06 2014 -0400 |
tree | 0c67703de5b8dde209e5bee3a54cbe76ca30c1bd | |
parent | dcfba949ba4ff90f5a7ff2942a4c86f9e2ba345d [diff] |
drivers: net: xen-netfront: fix array initialization bug This patch fixes the initialization of an array used in the TX datapath that was mistakenly initialized together with the RX datapath arrays. An out of range array access could happen when RX and TX rings had different sizes. Signed-off-by: Vincenzo Maffione <v.maffione@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>