Re: [PATCH net-next] cxgb4: Initialize mbox lock and list for mgmt dev

2017-01-12 Thread David Miller
From: Ganesh Goudar Date: Thu, 12 Jan 2017 12:23:21 +0530 > 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 Applied.

[PATCH net-next] cxgb4: Initialize mbox lock and list for mgmt dev

2017-01-11 Thread Ganesh Goudar
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 --- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 5 - 1 file changed, 4 inse