aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorLukas Bulwahn <[email protected]>2021-08-23 22:27:29 +0200
committerPablo Neira Ayuso <[email protected]>2021-08-25 13:06:48 +0200
commit7bc416f1471686faa8030cd5338f6a5370e01b25 (patch)
tree0d18b7a88694131866837e0626ae48d78b21a2df /net/lapb/lapb_timer.c
parent6c89dac5b98573222798a6b9c4973a031eea89ee (diff)
netfilter: x_tables: handle xt_register_template() returning an error value
Commit fdacd57c79b7 ("netfilter: x_tables: never register tables by default") introduces the function xt_register_template(), and in one case, a call to that function was missing the error-case handling. Handle when xt_register_template() returns an error value. This was identified with the clang-analyzer's Dead-Store analysis. Signed-off-by: Lukas Bulwahn <[email protected]> Reviewed-by: Florian Westphal <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions