aboutsummaryrefslogtreecommitdiffstats
path: root/net/nsh/nsh.c
diff options
context:
space:
mode:
authorMauricio Vasquez B <[email protected]>2018-06-29 12:48:20 +0000
committerDaniel Borkmann <[email protected]>2018-07-03 21:26:28 +0000
commited2b82c03dc187018307c7c6bf9299705f3db383 (patch)
tree4a208a727bd13dee13aad3b7202b259a6ed4aa5d /net/nsh/nsh.c
parentMerge branch 'af_xdp-fixes' (diff)
downloadkernel-ed2b82c03dc187018307c7c6bf9299705f3db383.tar.gz
kernel-ed2b82c03dc187018307c7c6bf9299705f3db383.zip
bpf: hash map: decrement counter on error
Decrement the number of elements in the map in case the allocation of a new node fails. Fixes: 6c9059817432 ("bpf: pre-allocate hash map elements") Signed-off-by: Mauricio Vasquez B <[email protected]> Acked-by: Alexei Starovoitov <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'net/nsh/nsh.c')
0 files changed, 0 insertions, 0 deletions