cxgb4: copy mbox log size to PF0-3 adap instances
authorGanesh Goudar <[email protected]>
Wed, 9 May 2018 13:30:35 +0000 (19:00 +0530)
committerDavid S. Miller <[email protected]>
Thu, 10 May 2018 20:02:07 +0000 (16:02 -0400)
commitaca06eafd09f48ca4d97f3c0b2a12c8d631116f0
treeaca1e8560d17f3796a6534d6dac6154808b469c2
parent2b928749f9ba781085442d1f8832f057cbf458a1
cxgb4: copy mbox log size to PF0-3 adap instances

copy mbox size to adapter instances of PF0-3 to avoid
mbox log overflow. This fixes the possible protection
fault.

Fixes: baf5086840ab ("cxgb4: restructure VF mgmt code")
Signed-off-by: Casey Leedom <[email protected]>
Signed-off-by: Ganesh Goudar <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c