diff options
author | David S. Miller <davem@davemloft.net> | 2013-04-25 00:53:40 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-25 00:53:40 -0400 |
commit | d3734b0496f5a310a85bb53310c047b8e42bc440 (patch) | |
tree | 92ef416d450d407635565e7238bb88522b83f2cc /include/net | |
parent | 204cd4f4957eaaecf0d55cdb329d488348745540 (diff) | |
parent | e7e6f6300faaafe05380ca5455b99c2a8f1f51a0 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next
Pablo Neira Ayuso says:
====================
The following patchset contains fixes for recently applied
Netfilter/IPVS updates to the net-next tree, most relevantly
they are:
* Fix sparse warnings introduced in the RCU conversion, from
Julian Anastasov.
* Fix wrong endianness in the size field of IPVS sync messages,
from Simon Horman.
* Fix missing if checking in nf_xfrm_me_harder, from Dan Carpenter.
* Fix off by one access in the IPVS SCTP tracking code, again from
Dan Carpenter.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/ip_vs.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h index f9f5b057b480..4c062ccff9aa 100644 --- a/include/net/ip_vs.h +++ b/include/net/ip_vs.h | |||
@@ -678,7 +678,7 @@ struct ip_vs_service_user_kern { | |||
678 | u16 af; | 678 | u16 af; |
679 | u16 protocol; | 679 | u16 protocol; |
680 | union nf_inet_addr addr; /* virtual ip address */ | 680 | union nf_inet_addr addr; /* virtual ip address */ |
681 | u16 port; | 681 | __be16 port; |
682 | u32 fwmark; /* firwall mark of service */ | 682 | u32 fwmark; /* firwall mark of service */ |
683 | 683 | ||
684 | /* virtual service options */ | 684 | /* virtual service options */ |
@@ -686,14 +686,14 @@ struct ip_vs_service_user_kern { | |||
686 | char *pe_name; | 686 | char *pe_name; |
687 | unsigned int flags; /* virtual service flags */ | 687 | unsigned int flags; /* virtual service flags */ |
688 | unsigned int timeout; /* persistent timeout in sec */ | 688 | unsigned int timeout; /* persistent timeout in sec */ |
689 | u32 netmask; /* persistent netmask */ | 689 | __be32 netmask; /* persistent netmask or plen */ |
690 | }; | 690 | }; |
691 | 691 | ||
692 | 692 | ||
693 | struct ip_vs_dest_user_kern { | 693 | struct ip_vs_dest_user_kern { |
694 | /* destination server address */ | 694 | /* destination server address */ |
695 | union nf_inet_addr addr; | 695 | union nf_inet_addr addr; |
696 | u16 port; | 696 | __be16 port; |
697 | 697 | ||
698 | /* real server options */ | 698 | /* real server options */ |
699 | unsigned int conn_flags; /* connection flags */ | 699 | unsigned int conn_flags; /* connection flags */ |
@@ -721,7 +721,7 @@ struct ip_vs_service { | |||
721 | __u32 fwmark; /* firewall mark of the service */ | 721 | __u32 fwmark; /* firewall mark of the service */ |
722 | unsigned int flags; /* service status flags */ | 722 | unsigned int flags; /* service status flags */ |
723 | unsigned int timeout; /* persistent timeout in ticks */ | 723 | unsigned int timeout; /* persistent timeout in ticks */ |
724 | __be32 netmask; /* grouping granularity */ | 724 | __be32 netmask; /* grouping granularity, mask/plen */ |
725 | struct net *net; | 725 | struct net *net; |
726 | 726 | ||
727 | struct list_head destinations; /* real server d-linked list */ | 727 | struct list_head destinations; /* real server d-linked list */ |