aboutsummaryrefslogtreecommitdiffstats
path: root/net/bridge/br_netfilter.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-11-14 21:11:51 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-02 21:22:56 -0800
commit47c183fa5ea7feebc356da8ccbd9105a41f8e534 (patch)
tree632e361178e7af9070c68ff0d7784a6a5d79c65e /net/bridge/br_netfilter.c
parent[ATM]: Annotations. (diff)
downloadlinux-dev-47c183fa5ea7feebc356da8ccbd9105a41f8e534.tar.xz
linux-dev-47c183fa5ea7feebc356da8ccbd9105a41f8e534.zip
[BRIDGE]: Annotations.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_netfilter.c')
-rw-r--r--net/bridge/br_netfilter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/br_netfilter.c b/net/bridge/br_netfilter.c
index ac181be13d83..2a5d31b1a196 100644
--- a/net/bridge/br_netfilter.c
+++ b/net/bridge/br_netfilter.c
@@ -381,7 +381,7 @@ static int check_hbh_len(struct sk_buff *skb)
case IPV6_TLV_JUMBO:
if (skb->nh.raw[off + 1] != 4 || (off & 3) != 2)
goto bad;
- pkt_len = ntohl(*(u32 *) (skb->nh.raw + off + 2));
+ pkt_len = ntohl(*(__be32 *) (skb->nh.raw + off + 2));
if (pkt_len <= IPV6_MAXPLEN ||
skb->nh.ipv6h->payload_len)
goto bad;