diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/atm/br2684.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/atm/br2684.c b/net/atm/br2684.c index ec4ebd3299e3..c444f5eda22d 100644 --- a/net/atm/br2684.c +++ b/net/atm/br2684.c | |||
@@ -375,11 +375,11 @@ packet_fails_filter(__be16 type, struct br2684_vcc *brvcc, struct sk_buff *skb) | |||
375 | { | 375 | { |
376 | if (brvcc->filter.netmask == 0) | 376 | if (brvcc->filter.netmask == 0) |
377 | return 0; /* no filter in place */ | 377 | return 0; /* no filter in place */ |
378 | if (type == __constant_htons(ETH_P_IP) && | 378 | if (type == htons(ETH_P_IP) && |
379 | (((struct iphdr *) (skb->data))->daddr & brvcc->filter. | 379 | (((struct iphdr *) (skb->data))->daddr & brvcc->filter. |
380 | netmask) == brvcc->filter.prefix) | 380 | netmask) == brvcc->filter.prefix) |
381 | return 0; | 381 | return 0; |
382 | if (type == __constant_htons(ETH_P_ARP)) | 382 | if (type == htons(ETH_P_ARP)) |
383 | return 0; | 383 | return 0; |
384 | /* TODO: we should probably filter ARPs too.. don't want to have | 384 | /* TODO: we should probably filter ARPs too.. don't want to have |
385 | * them returning values that don't make sense, or is that ok? | 385 | * them returning values that don't make sense, or is that ok? |