mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 22:23:14 -04:00
netfilter endian regressions
no real bugs, just misannotations cropping up Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
e0e5de00b0
commit
a34c45896a
9 changed files with 23 additions and 20 deletions
|
|
@ -5,8 +5,8 @@ struct xt_connlimit_data;
|
|||
|
||||
struct xt_connlimit_info {
|
||||
union {
|
||||
u_int32_t v4_mask;
|
||||
u_int32_t v6_mask[4];
|
||||
__be32 v4_mask;
|
||||
__be32 v6_mask[4];
|
||||
};
|
||||
unsigned int limit, inverse;
|
||||
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ union nf_conntrack_address {
|
|||
union nf_conntrack_man_proto
|
||||
{
|
||||
/* Add other protocols here. */
|
||||
u_int16_t all;
|
||||
__be16 all;
|
||||
|
||||
struct {
|
||||
__be16 port;
|
||||
|
|
@ -73,7 +73,7 @@ struct nf_conntrack_tuple
|
|||
union nf_conntrack_address u3;
|
||||
union {
|
||||
/* Add other protocols here. */
|
||||
u_int16_t all;
|
||||
__be16 all;
|
||||
|
||||
struct {
|
||||
__be16 port;
|
||||
|
|
|
|||
Loading…
Reference in a new issue