diff options
| author | Christophe Leroy <[email protected]> | 2017-03-01 14:33:26 +0000 |
|---|---|---|
| committer | Pablo Neira Ayuso <[email protected]> | 2017-03-03 12:48:31 +0000 |
| commit | da2f27e9e615d1c799c9582b15262458da61fddc (patch) | |
| tree | 8eb62270f0633752cc4ff645d9e4f5c799e54e5f /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | |
| parent | netfilter: use skb_to_full_sk in ip_route_me_harder (diff) | |
| download | kernel-da2f27e9e615d1c799c9582b15262458da61fddc.tar.gz kernel-da2f27e9e615d1c799c9582b15262458da61fddc.zip | |
netfilter: nf_conntrack_sip: fix wrong memory initialisation
In commit 82de0be6862cd ("netfilter: Add helper array
register/unregister functions"),
struct nf_conntrack_helper sip[MAX_PORTS][4] was changed to
sip[MAX_PORTS * 4], so the memory init should have been changed to
memset(&sip[4 * i], 0, 4 * sizeof(sip[i]));
But as the sip[] table is allocated in the BSS, it is already set to 0
Fixes: 82de0be6862cd ("netfilter: Add helper array register/unregister functions")
Signed-off-by: Christophe Leroy <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions
