aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/act_simple.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2018-06-08 10:58:25 +0800
committerDavid S. Miller <davem@davemloft.net>2018-06-08 18:47:46 -0400
commit6310a882fbe0b87e0950222f2ac197ed92e11792 (patch)
tree08c003839d82a89c3904bfc1639358f72fae525f /net/sched/act_simple.c
parentnet: aquantia: fix unsigned numvecs comparison with less than zero (diff)
downloadlinux-dev-6310a882fbe0b87e0950222f2ac197ed92e11792.tar.xz
linux-dev-6310a882fbe0b87e0950222f2ac197ed92e11792.zip
net: fddi: fix a possible null-ptr-deref
bp->SharedMemAddr is set to NULL while bp->SharedMemSize lesser-or-equal 0, then memset will trigger null-ptr-deref. fix it by replacing pci_alloc_consistent with dma_zalloc_coherent. Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/act_simple.c')
0 files changed, 0 insertions, 0 deletions