summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorGanesh Goudar <ganeshgr@chelsio.com>2017-01-12 12:23:21 +0530
committerDavid S. Miller <davem@davemloft.net>2017-01-12 09:23:53 -0500
commit038c35a86d213c69faf7aa9500ab9001c3774e15 (patch)
treefd0744d252300aea243f2d963525b9db3092af12 /kernel
parent738b35ccee1bcd7cf4af147edd76e7880533ad9f (diff)
downloadlinux-038c35a86d213c69faf7aa9500ab9001c3774e15.tar.gz
linux-038c35a86d213c69faf7aa9500ab9001c3774e15.tar.bz2
linux-038c35a86d213c69faf7aa9500ab9001c3774e15.zip
cxgb4: Initialize mbox lock and list for mgmt dev
Initialize mbox lock and list for mgmt dev to avoid NULL pointer dereference when cxgb_set_vf_mac is called. And also allocate memory for private data while allocating mgmt netdev. Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions