diff options
| -rw-r--r-- | net/core/dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index 94c133556765..aa60a342c5fc 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -244,7 +244,7 @@ void dev_add_pack(struct packet_type *pt) #ifdef CONFIG_NET_FASTROUTE /* Hack to detect packet socket */ - if (pt->data && (int)(pt->data) != 1) { + if (pt->data && (long)(pt->data) != 1) { netdev_fastroute_obstacles++; dev_clear_fastroute(pt->dev); } |
