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_arpreply.c
diff --git
a/net/bridge/netfilter/ebt_arpreply.c
b/net/bridge/netfilter/ebt_arpreply.c
index
b934de9
..
0aa7b99
100644
(file)
--- a/
net/bridge/netfilter/ebt_arpreply.c
+++ b/
net/bridge/netfilter/ebt_arpreply.c
@@
-20,7
+20,7
@@
static int ebt_target_reply(struct sk_buff **pskb, unsigned int hooknr,
const void *data, unsigned int datalen)
{
struct ebt_arpreply_info *info = (struct ebt_arpreply_info *)data;
const void *data, unsigned int datalen)
{
struct ebt_arpreply_info *info = (struct ebt_arpreply_info *)data;
-
u
32 _sip, *siptr, _dip, *diptr;
+
__be
32 _sip, *siptr, _dip, *diptr;
struct arphdr _ah, *ap;
unsigned char _sha[ETH_ALEN], *shp;
struct sk_buff *skb = *pskb;
struct arphdr _ah, *ap;
unsigned char _sha[ETH_ALEN], *shp;
struct sk_buff *skb = *pskb;
@@
-82,16
+82,16
@@
static struct ebt_target reply_target =
.me = THIS_MODULE,
};
.me = THIS_MODULE,
};
-static int __init init(void)
+static int __init
ebt_arpreply_
init(void)
{
return ebt_register_target(&reply_target);
}
{
return ebt_register_target(&reply_target);
}
-static void __exit fini(void)
+static void __exit
ebt_arpreply_
fini(void)
{
ebt_unregister_target(&reply_target);
}
{
ebt_unregister_target(&reply_target);
}
-module_init(init);
-module_exit(fini);
+module_init(
ebt_arpreply_
init);
+module_exit(
ebt_arpreply_
fini);
MODULE_LICENSE("GPL");
MODULE_LICENSE("GPL");