summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2009-03-31 09:54:15 -0700
committerRoland Dreier <rolandd@cisco.com>2009-03-31 09:54:15 -0700
commit352b09edd7fa8145bfc9e5db0cc0fed971b69440 (patch)
treea76d32027309de5bc16b345bd74bcb0c712df07c /drivers/infiniband/hw
parente1d60ec6699f19b760df8261e922ae236ea7bb31 (diff)
downloadop-kernel-dev-352b09edd7fa8145bfc9e5db0cc0fed971b69440.zip
op-kernel-dev-352b09edd7fa8145bfc9e5db0cc0fed971b69440.tar.gz
mlx4_core: Don't leak mailbox for SET_PORT on Ethernet ports
Commit 793730bf ("mlx4_core: Don't perform SET_PORT command for Ethernet ports") introduced a leak of mailbox buffers when SET_PORT was called for Ethernet ports, since it added a return after the mailbox was allocated. Fix this by checking the port type and returning *before* allocating the mailbox. Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud