summaryrefslogtreecommitdiffstats
path: root/drivers/net/znet.c
diff options
context:
space:
mode:
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>2011-03-30 23:28:52 +0000
committerDavid S. Miller <davem@davemloft.net>2011-03-31 02:52:17 -0700
commit53020092bd89b0d4ccc5368a3956f43cb43e5665 (patch)
treee77703aed0ac7d44fa82736c935039638ea6c280 /drivers/net/znet.c
parent5e8996e72899847269ca36061ea33ea24bf6cb90 (diff)
downloadtalos-op-linux-53020092bd89b0d4ccc5368a3956f43cb43e5665.tar.gz
talos-op-linux-53020092bd89b0d4ccc5368a3956f43cb43e5665.zip
mlx4: Fixing use after free
In case of allocation failure, tried to use the promiscuous QP entry that was previously freed. Now freeing this entry only in case we will not put it back to the list of promiscuous entries. Reported-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/znet.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud