Re: [PATCH net-next 4/5] ptp: Change ptp_class to a proper bitmask

2015-10-30 Thread Richard Cochran
On Fri, Oct 30, 2015 at 01:14:03PM +0100, Stefan Sørensen wrote: > Change the definition of PTP_CLASS_L2 to not have any bits overlapping with > the other defined protocol values, allowing the PTP_CLASS_* definitions to > be for simple filtering on packet type. > > Signed-off-by: Stefan Sørensen

[PATCH net-next 4/5] ptp: Change ptp_class to a proper bitmask

2015-10-30 Thread Stefan Sørensen
Change the definition of PTP_CLASS_L2 to not have any bits overlapping with the other defined protocol values, allowing the PTP_CLASS_* definitions to be for simple filtering on packet type. Signed-off-by: Stefan Sørensen --- include/linux/ptp_classify.h | 7 --- net/core/ptp_classifier.c