diff options
Diffstat (limited to 'net/compat.c')
-rw-r--r-- | net/compat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/compat.c b/net/compat.c index ec24d9edb025..1cf75905f132 100644 --- a/net/compat.c +++ b/net/compat.c | |||
@@ -531,7 +531,7 @@ struct compat_group_req { | |||
531 | __u32 gr_interface; | 531 | __u32 gr_interface; |
532 | struct __kernel_sockaddr_storage gr_group | 532 | struct __kernel_sockaddr_storage gr_group |
533 | __attribute__ ((aligned(4))); | 533 | __attribute__ ((aligned(4))); |
534 | } __attribute__ ((packed)); | 534 | } __packed; |
535 | 535 | ||
536 | struct compat_group_source_req { | 536 | struct compat_group_source_req { |
537 | __u32 gsr_interface; | 537 | __u32 gsr_interface; |
@@ -539,7 +539,7 @@ struct compat_group_source_req { | |||
539 | __attribute__ ((aligned(4))); | 539 | __attribute__ ((aligned(4))); |
540 | struct __kernel_sockaddr_storage gsr_source | 540 | struct __kernel_sockaddr_storage gsr_source |
541 | __attribute__ ((aligned(4))); | 541 | __attribute__ ((aligned(4))); |
542 | } __attribute__ ((packed)); | 542 | } __packed; |
543 | 543 | ||
544 | struct compat_group_filter { | 544 | struct compat_group_filter { |
545 | __u32 gf_interface; | 545 | __u32 gf_interface; |
@@ -549,7 +549,7 @@ struct compat_group_filter { | |||
549 | __u32 gf_numsrc; | 549 | __u32 gf_numsrc; |
550 | struct __kernel_sockaddr_storage gf_slist[1] | 550 | struct __kernel_sockaddr_storage gf_slist[1] |
551 | __attribute__ ((aligned(4))); | 551 | __attribute__ ((aligned(4))); |
552 | } __attribute__ ((packed)); | 552 | } __packed; |
553 | 553 | ||
554 | #define __COMPAT_GF0_SIZE (sizeof(struct compat_group_filter) - \ | 554 | #define __COMPAT_GF0_SIZE (sizeof(struct compat_group_filter) - \ |
555 | sizeof(struct __kernel_sockaddr_storage)) | 555 | sizeof(struct __kernel_sockaddr_storage)) |