projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27ecb1f
)
[NETFILTER]: Use __u32 in struct nf_inet_addr
author
Patrick McHardy
<kaber@trash.net>
Wed, 20 Feb 2008 01:20:33 +0000
(17:20 -0800)
committer
David S. Miller
<davem@davemloft.net>
Wed, 20 Feb 2008 01:20:33 +0000
(17:20 -0800)
As reported by David Woodhouse <dwmw2@infradead.org>, using u_int32_t
in struct nf_inet_addr breaks the busybox build. Fix by using __u32.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netfilter.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/netfilter.h
b/include/linux/netfilter.h
index d74e79bacd2d19c240f5b8d27ba6fdd123c8ca9b..b74b615492e8117c47d37f348b13668ef4ffbce5 100644
(file)
--- a/
include/linux/netfilter.h
+++ b/
include/linux/netfilter.h
@@
-51,7
+51,7
@@
enum nf_inet_hooks {
};
union nf_inet_addr {
-
u_int32_t
all[4];
+
__u32
all[4];
__be32 ip;
__be32 ip6[4];
struct in_addr in;