diff options
author | 2022-08-17 11:06:34 -0400 | |
---|---|---|
committer | 2022-08-22 13:54:50 +0100 | |
commit | 1100248a5c5ccd57059eb8d02ec077e839a23826 (patch) | |
tree | 6bcfac735bbbb91184850d66f1db1eccf3d339fe /lib/memory-notifier-error-inject.c | |
parent | Merge branch 'net-phy-QUSGMII' (diff) | |
download | linux-rng-1100248a5c5ccd57059eb8d02ec077e839a23826.tar.xz linux-rng-1100248a5c5ccd57059eb8d02ec077e839a23826.zip |
openvswitch: Fix double reporting of drops in dropwatch
Frames sent to userspace can be reported as dropped in
ovs_dp_process_packet, however, if they are dropped in the netlink code
then netlink_attachskb will report the same frame as dropped.
This patch checks for error codes which indicate that the frame has
already been freed.
Signed-off-by: Mike Pattrick <mkp@redhat.com>
Link: https://bugzilla.redhat.com/show_bug.cgi?id=2109946
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions