android_kernel_xiaomi_sm7250/net/can
Oliver Hartkopp d253eee201 can: Fix CAN_(EFF|RTR)_FLAG handling in can_filter
Due to a wrong safety check in af_can.c it was not possible to filter
for SFF frames with a specific CAN identifier without getting the
same selected CAN identifier from a received EFF frame also.

This fix has a minimum (but user visible) impact on the CAN filter
API and therefore the CAN version is set to a new date.

Indeed the 'old' API is still working as-is. But when now setting
CAN_(EFF|RTR)_FLAG in can_filter.can_mask you might get less traffic
than before - but still the stuff that you expected to get for your
defined filter ...

Thanks to Kurt Van Dijck for pointing at this issue and for the review.

Signed-off-by: Oliver Hartkopp <oliver@hartkopp.net>
Acked-by: Kurt Van Dijck <kurt.van.dijck@eia.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-12-03 15:52:35 -08:00
..
af_can.c can: Fix CAN_(EFF|RTR)_FLAG handling in can_filter 2008-12-03 15:52:35 -08:00
af_can.h [CAN]: Add PF_CAN core module 2008-01-28 14:54:10 -08:00
bcm.c can: Fix CAN_(EFF|RTR)_FLAG handling in can_filter 2008-12-03 15:52:35 -08:00
Kconfig [CAN]: Add virtual CAN netdevice driver 2008-01-28 14:54:12 -08:00
Makefile [CAN]: Add broadcast manager (bcm) protocol 2008-01-28 14:54:11 -08:00
proc.c [CAN]: Add PF_CAN core module 2008-01-28 14:54:10 -08:00
raw.c netns: Use net_eq() to compare net-namespaces for optimization. 2008-07-19 22:34:43 -07:00