commit | 32127a0a0a35706c18df11cd7ad69e96214b3c68 | [log] [tgz] |
---|---|---|
author | Richard Cochran <richardcochran@gmail.com> | Fri Apr 20 18:50:35 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sat Apr 21 15:27:45 2012 -0400 |
tree | 78a10204d205c8b2a682d15764c3c7bcd40b30ba | |
parent | 358dfb6d77c016af764c0f7007697e5f5bc322c2 [diff] |
pch_gbe: run the ptp bpf just once per packet This patch fixes code which needlessly ran the BPF twice per packet. Instead, we just run the classifier once and test whether the packet is any kind of PTP event message. Signed-off-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>