]> git.openfabrics.org - compat-rdma/compat-rdma.git/commit
mlx4_en: Fixed crash when port type is change
authorVladimir Sokolovsky <vlad@mellanox.com>
Tue, 5 Aug 2014 07:41:33 +0000 (10:41 +0300)
committerVladimir Sokolovsky <vlad@mellanox.com>
Wed, 6 Aug 2014 12:31:26 +0000 (15:31 +0300)
commitc7285e447d092575d2369d8b4580ff2eecc2f60f
treeffb82b7056d1831fa39907ba492b412eb309128f
parentba6750e941627cc2a67eb5dcd73b6f1e63e7b362
mlx4_en: Fixed crash when port type is change

Taken from the upstream kernel commit
1ec4864b10171b0691ee196d7006ae56d2c153f2

timecounter_init() was was called only after first potential
timecounter_read().
Moved mlx4_en_init_timestamp() before mlx4_en_init_netdev()

Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
linux-next-cherry-picks/0103-net-mlx4_en-Fixed-crash-when-port-type-is-changed.patch [new file with mode: 0644]