git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
net
/
bridge
/
netfilter
/
ebt_log.c
diff --git
a/net/bridge/netfilter/ebt_log.c
b/net/bridge/netfilter/ebt_log.c
index
466ed34
..
a184f87
100644
(file)
--- 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
{
struct tcpudphdr
{
-
uint16_t
src;
-
uint16_t
dst;
+
__be16
src;
+
__be16
dst;
};
struct arppayload
};
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 &&
* 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),
struct arppayload _arpp, *ap;
ap = skb_header_pointer(skb, sizeof(_arph),