summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/qlogic/qede
diff options
context:
space:
mode:
authorRam Amrani <Ram.Amrani@cavium.com>2017-05-09 15:07:50 +0300
committerDavid S. Miller <davem@davemloft.net>2017-05-09 18:24:22 +0300
commita82dadbce47395747824971db08a128130786fdc (patch)
treec925691eaa9d40c2982a95fbff27752b81506cd5 /drivers/net/ethernet/qlogic/qede
parentc9f0523bb3d1e70fbfd3245842de855096194925 (diff)
downloadlinux-a82dadbce47395747824971db08a128130786fdc.tar.xz
qed: Correct doorbell configuration for !4Kb pages
When configuring the doorbell DPI address, driver aligns the start address to 4KB [HW-pages] instead of host PAGE_SIZE. As a result, RoCE applications might receive addresses which are unaligned to pages [when PAGE_SIZE > 4KB], which is a security risk. Fixes: 51ff17251c9c ("qed: Add support for RoCE hw init") Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com> Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qede')
0 files changed, 0 insertions, 0 deletions