aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/sch_teql.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sched/sch_teql.c')
-rw-r--r--net/sched/sch_teql.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/sched/sch_teql.c b/net/sched/sch_teql.c
index 146f453d7378..d13970f3c7b1 100644
--- a/net/sched/sch_teql.c
+++ b/net/sched/sch_teql.c
@@ -232,9 +232,12 @@ __teql_resolve(struct sk_buff *skb, struct sk_buff *skb_res, struct net_device *
232 } 232 }
233 if (neigh_event_send(n, skb_res) == 0) { 233 if (neigh_event_send(n, skb_res) == 0) {
234 int err; 234 int err;
235
235 read_lock(&n->lock); 236 read_lock(&n->lock);
236 err = dev->hard_header(skb, dev, ntohs(skb->protocol), n->ha, NULL, skb->len); 237 err = dev_hard_header(skb, dev, ntohs(skb->protocol),
238 n->ha, NULL, skb->len);
237 read_unlock(&n->lock); 239 read_unlock(&n->lock);
240
238 if (err < 0) { 241 if (err < 0) {
239 neigh_release(n); 242 neigh_release(n);
240 return -EINVAL; 243 return -EINVAL;