diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/bridge/netfilter/ebt_log.c | 6 | ||||
-rw-r--r-- | net/bridge/netfilter/ebtables.c | 3 |
2 files changed, 3 insertions, 6 deletions
diff --git a/net/bridge/netfilter/ebt_log.c b/net/bridge/netfilter/ebt_log.c index f22284d8a454..152300d164ac 100644 --- a/net/bridge/netfilter/ebt_log.c +++ b/net/bridge/netfilter/ebt_log.c | |||
@@ -36,14 +36,12 @@ static int ebt_log_tg_check(const struct xt_tgchk_param *par) | |||
36 | return 0; | 36 | return 0; |
37 | } | 37 | } |
38 | 38 | ||
39 | struct tcpudphdr | 39 | struct tcpudphdr { |
40 | { | ||
41 | __be16 src; | 40 | __be16 src; |
42 | __be16 dst; | 41 | __be16 dst; |
43 | }; | 42 | }; |
44 | 43 | ||
45 | struct arppayload | 44 | struct arppayload { |
46 | { | ||
47 | unsigned char mac_src[ETH_ALEN]; | 45 | unsigned char mac_src[ETH_ALEN]; |
48 | unsigned char ip_src[4]; | 46 | unsigned char ip_src[4]; |
49 | unsigned char mac_dst[ETH_ALEN]; | 47 | unsigned char mac_dst[ETH_ALEN]; |
diff --git a/net/bridge/netfilter/ebtables.c b/net/bridge/netfilter/ebtables.c index 62090e273aed..b13ea69c1bc1 100644 --- a/net/bridge/netfilter/ebtables.c +++ b/net/bridge/netfilter/ebtables.c | |||
@@ -551,8 +551,7 @@ ebt_check_entry_size_and_hooks(const struct ebt_entry *e, | |||
551 | return 0; | 551 | return 0; |
552 | } | 552 | } |
553 | 553 | ||
554 | struct ebt_cl_stack | 554 | struct ebt_cl_stack { |
555 | { | ||
556 | struct ebt_chainstack cs; | 555 | struct ebt_chainstack cs; |
557 | int from; | 556 | int from; |
558 | unsigned int hookmask; | 557 | unsigned int hookmask; |