X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fbridge%2Fbr_input.c;h=255c00f60ce7a3a14a5b0089e440d2edf46403e1;hb=061964fb988ca51087948975da66ff523b3a5852;hp=0ee79a726d91f3159e293282013dd7fad395760e;hpb=ca6435f188a0ce40eae716c158053e49130886a3;p=linux-2.6 diff --git a/net/bridge/br_input.c b/net/bridge/br_input.c index 0ee79a726d..255c00f60c 100644 --- a/net/bridge/br_input.c +++ b/net/bridge/br_input.c @@ -109,7 +109,7 @@ static inline int is_link_local(const unsigned char *dest) { __be16 *a = (__be16 *)dest; static const __be16 *b = (const __be16 *)br_group_address; - static const __be16 m = __constant_cpu_to_be16(0xfff0); + static const __be16 m = cpu_to_be16(0xfff0); return ((a[0] ^ b[0]) | (a[1] ^ b[1]) | ((a[2] ^ b[2]) & m)) == 0; }