]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
cxgb4: copy mbox log size to PF0-3 adap instances
authorGanesh Goudar <ganeshgr@chelsio.com>
Wed, 9 May 2018 13:30:35 +0000 (19:00 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Jun 2018 19:01:40 +0000 (04:01 +0900)
commit82fa283f7889d586b05383a5103b2ffe95d74bb9
treeef94f4f05358a1747392872cc583206f7302f307
parent1388be9f0a3a98b9e3ca9c407d4f9d126098e132
cxgb4: copy mbox log size to PF0-3 adap instances

[ Upstream commit aca06eafd09f48ca4d97f3c0b2a12c8d631116f0 ]

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 <leedom@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c