aboutsummaryrefslogtreecommitdiffstats
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorMike Pattrick <mkp@redhat.com>2022-08-17 11:06:34 -0400
committerDavid S. Miller <davem@davemloft.net>2022-08-22 13:54:50 +0100
commit1100248a5c5ccd57059eb8d02ec077e839a23826 (patch)
tree6bcfac735bbbb91184850d66f1db1eccf3d339fe /lib/memory-notifier-error-inject.c
parentMerge branch 'net-phy-QUSGMII' (diff)
downloadlinux-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