projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0f9759
)
net: ptp: Add stub for ptp_classify_raw()
author
Andrew Lunn
<andrew@lunn.ch>
Wed, 14 Feb 2018 00:07:42 +0000
(
01:07
+0100)
committer
David S. Miller
<davem@davemloft.net>
Wed, 14 Feb 2018 19:33:36 +0000
(14:33 -0500)
When NET_PTP_CLASSIFY is disabled, a stub function is required in
order that the drivers compile.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/ptp_classify.h
patch
|
blob
|
history
diff --git
a/include/linux/ptp_classify.h
b/include/linux/ptp_classify.h
index
a079656
..
0592420
100644
(file)
--- a/
include/linux/ptp_classify.h
+++ b/
include/linux/ptp_classify.h
@@
-75,5
+75,9
@@
void __init ptp_classifier_init(void);
static inline void ptp_classifier_init(void)
{
}
+static inline unsigned int ptp_classify_raw(struct sk_buff *skb)
+{
+ return PTP_CLASS_NONE;
+}
#endif
#endif /* _PTP_CLASSIFY_H_ */