]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
iflib: Improve return values of interrupt handlers.
authorshurd <shurd@FreeBSD.org>
Fri, 15 Feb 2019 18:51:43 +0000 (18:51 +0000)
committershurd <shurd@FreeBSD.org>
Fri, 15 Feb 2019 18:51:43 +0000 (18:51 +0000)
commitef7c318587febc4cc88884105728c8a0bd038750
tree1f365ed181a46c34dcd4742f4c921a66e9d4b972
parent3e89fd24ea6c3c61a322ff0040f5583eed6597fc
iflib: Improve return values of interrupt handlers.

iflib was returning FILTER_HANDLED, in cases where FILTER_STRAY was more
correct. This potentially caused issues with shared legacy interrupts.

Driver filters returning FILTER_STRAY are now properly handled.

Submitted by: Augustin Cavalier <waddlesplash@gmail.com>
Reviewed by: marius, gallatin
Obtained from: Haiku (a84bb9, 4947d1)
MFC after: 1 week
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D19201
sys/net/iflib.c