|
@@ -252,6 +252,9 @@ __teql_resolve(struct sk_buff *skb, struct sk_buff *skb_res, struct net_device *
|
|
static inline int teql_resolve(struct sk_buff *skb,
|
|
static inline int teql_resolve(struct sk_buff *skb,
|
|
struct sk_buff *skb_res, struct net_device *dev)
|
|
struct sk_buff *skb_res, struct net_device *dev)
|
|
{
|
|
{
|
|
|
|
+ if (dev->qdisc == &noop_qdisc)
|
|
|
|
+ return -ENODEV;
|
|
|
|
+
|
|
if (dev->header_ops == NULL ||
|
|
if (dev->header_ops == NULL ||
|
|
skb->dst == NULL ||
|
|
skb->dst == NULL ||
|
|
skb->dst->neighbour == NULL)
|
|
skb->dst->neighbour == NULL)
|