diff options
Diffstat (limited to 'net/sched')
-rw-r--r-- | net/sched/sch_teql.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/sched/sch_teql.c b/net/sched/sch_teql.c index d13970f3c7b1..be57cf317a7f 100644 --- a/net/sched/sch_teql.c +++ b/net/sched/sch_teql.c | |||
@@ -249,10 +249,10 @@ __teql_resolve(struct sk_buff *skb, struct sk_buff *skb_res, struct net_device * | |||
249 | return (skb_res == NULL) ? -EAGAIN : 1; | 249 | return (skb_res == NULL) ? -EAGAIN : 1; |
250 | } | 250 | } |
251 | 251 | ||
252 | static __inline__ int | 252 | static inline int teql_resolve(struct sk_buff *skb, |
253 | teql_resolve(struct sk_buff *skb, struct sk_buff *skb_res, struct net_device *dev) | 253 | struct sk_buff *skb_res, struct net_device *dev) |
254 | { | 254 | { |
255 | if (dev->hard_header == NULL || | 255 | if (dev->header_ops == NULL || |
256 | skb->dst == NULL || | 256 | skb->dst == NULL || |
257 | skb->dst->neighbour == NULL) | 257 | skb->dst->neighbour == NULL) |
258 | return 0; | 258 | return 0; |