From: Marc Kleine-Budde <m...@pengutronix.de> Date: Mon, 6 Feb 2017 15:50:48 +0100
> this is a pull request of 16 patches for net-next/master. > > The first two patches by David Jander and me add the rx-offload > framework for CAN devices to the kernel. The remaining 14 patches > convert the flexcan driver to make use of it. Pulled, but I wonder if your comparisons does the right thing when the counters overflow. I think you need to do the same thing we do for TCP sequence number comparisons and code it like: static inline bool before(__u32 seq1, __u32 seq2) { return (__s32)(seq1-seq2) < 0; }