summaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bond_netlink.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-05-06 02:49:01 +0200
committerDavid S. Miller <davem@davemloft.net>2017-05-08 20:47:31 +0200
commitac45bd93a5035c2f39c9862b8b6ed692db0fdc87 (patch)
treef610646749017ed71acfb859e0721038ec28d09e /drivers/net/bonding/bond_netlink.c
parentqlge: Avoid reading past end of buffer (diff)
downloadlinux-ac45bd93a5035c2f39c9862b8b6ed692db0fdc87.tar.xz
linux-ac45bd93a5035c2f39c9862b8b6ed692db0fdc87.zip
bnxt_en: allocate enough space for ->ntp_fltr_bmap
We have the number of longs, but we need to calculate the number of bytes required. Fixes: c0c050c58d84 ("bnxt_en: New Broadcom ethernet driver.") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bond_netlink.c')
0 files changed, 0 insertions, 0 deletions