summaryrefslogtreecommitdiffstats
path: root/net/bridge/netfilter/ebt_log.c
diff options
context:
space:
mode:
authorAl Viro2006-11-15 06:11:51 +0100
committerDavid S. Miller2006-12-03 06:22:56 +0100
commit47c183fa5ea7feebc356da8ccbd9105a41f8e534 (patch)
tree632e361178e7af9070c68ff0d7784a6a5d79c65e /net/bridge/netfilter/ebt_log.c
parent[ATM]: Annotations. (diff)
downloadkernel-qcow2-linux-47c183fa5ea7feebc356da8ccbd9105a41f8e534.tar.gz
kernel-qcow2-linux-47c183fa5ea7feebc356da8ccbd9105a41f8e534.tar.xz
kernel-qcow2-linux-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/netfilter/ebt_log.c')
-rw-r--r--net/bridge/netfilter/ebt_log.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/bridge/netfilter/ebt_log.c b/net/bridge/netfilter/ebt_log.c
index 466ed3440b74..a184f879f253 100644
--- a/net/bridge/netfilter/ebt_log.c
+++ b/net/bridge/netfilter/ebt_log.c
@@ -38,8 +38,8 @@ static int ebt_log_check(const char *tablename, unsigned int hookmask,
struct tcpudphdr
{
- uint16_t src;
- uint16_t dst;
+ __be16 src;
+ __be16 dst;
};
struct arppayload
@@ -130,7 +130,7 @@ ebt_log_packet(unsigned int pf, unsigned int hooknum,
* then log the ARP payload */
if (ah->ar_hrd == htons(1) &&
ah->ar_hln == ETH_ALEN &&
- ah->ar_pln == sizeof(uint32_t)) {
+ ah->ar_pln == sizeof(__be32)) {
struct arppayload _arpp, *ap;
ap = skb_header_pointer(skb, sizeof(_arph),