diff options
Diffstat (limited to 'drivers/net/tun.c')
| -rw-r--r-- | drivers/net/tun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tun.c b/drivers/net/tun.c index bb8c72c79c6f..987aeefbc774 100644 --- a/drivers/net/tun.c +++ b/drivers/net/tun.c | |||
| @@ -313,7 +313,7 @@ static int run_filter(struct tap_filter *filter, const struct sk_buff *skb) | |||
| 313 | 313 | ||
| 314 | /* Exact match */ | 314 | /* Exact match */ |
| 315 | for (i = 0; i < filter->count; i++) | 315 | for (i = 0; i < filter->count; i++) |
| 316 | if (!compare_ether_addr(eh->h_dest, filter->addr[i])) | 316 | if (ether_addr_equal(eh->h_dest, filter->addr[i])) |
| 317 | return 1; | 317 | return 1; |
| 318 | 318 | ||
| 319 | /* Inexact match (multicast only) */ | 319 | /* Inexact match (multicast only) */ |
