aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorCong Wang <[email protected]>2018-09-06 14:50:16 -0700
committerDavid S. Miller <[email protected]>2018-09-07 23:05:07 -0700
commita162c3511410b50f09c002fea56fea2153b679d0 (patch)
treea687a142f1edc5d5246cb6b46453ae53ddbd4dc2 /lib/mpi/mpi-bit.c
parent8edfe2e992b75aee3da9316e9697c531194c2f53 (diff)
net_sched: properly cancel netlink dump on failure
When nla_put*() fails after nla_nest_start(), we need to call nla_nest_cancel() to cancel the message, otherwise we end up calling nla_nest_end() like a success. Fixes: 0ed5269f9e41 ("net/sched: add tunnel option support to act_tunnel_key") Cc: Davide Caratti <[email protected]> Cc: Simon Horman <[email protected]> Signed-off-by: Cong Wang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions