git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
filter: optimize sk_run_filter
[pandora-kernel.git]
/
net
/
core
/
timestamping.c
diff --git
a/net/core/timestamping.c
b/net/core/timestamping.c
index
0ae6c22
..
dac7ed6
100644
(file)
--- a/
net/core/timestamping.c
+++ b/
net/core/timestamping.c
@@
-31,7
+31,7
@@
static unsigned int classify(struct sk_buff *skb)
if (likely(skb->dev &&
skb->dev->phydev &&
skb->dev->phydev->drv))
- return sk_run_filter(skb, ptp_filter
, ARRAY_SIZE(ptp_filter)
);
+ return sk_run_filter(skb, ptp_filter);
else
return PTP_CLASS_NONE;
}