2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 19:53:59 +08:00
linux-next/net/netfilter/ipvs
Simon Horman 38561437d0 ipvs: Use network byte order for sync message size
struct ip_vs_sync_mesg and ip_vs_sync_mesg_v0 are both sent across the wire
and used internally to store IPVS synchronisation messages.

Up until now the scheme used has been to convert the size field
to network byte order before sending a message on the wire and
convert it to host byte order when sending a message.

This patch changes that scheme to always treat the field
as being network byte order. This seems appropriate as
the structure is sent across the wire. And by consistently
treating the field has network byte order it is now possible
to take advantage of sparse to flag any future miss-use.

Acked-by: Julian Anastasov <ja@ssi.bg>
Acked-by: Hans Schillstrom <hans@schillstrom.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
2013-04-23 11:43:06 +09:00
..
ip_vs_app.c ipvs: do not disable bh for long time 2013-04-02 00:23:58 +02:00
ip_vs_conn.c ipvs: fix sparse warnings for ip_vs_conn listing 2013-04-23 11:43:05 +09:00
ip_vs_core.c ipvs: Avoid shadowing net variable in ip_vs_leave() 2013-04-23 11:43:06 +09:00
ip_vs_ctl.c ipvs: fix sparse warnings for some parameters 2013-04-23 11:43:05 +09:00
ip_vs_dh.c ipvs: convert services to rcu 2013-04-02 00:23:58 +02:00
ip_vs_est.c ipvs: fix some sparse warnings 2013-03-19 21:18:38 +09:00
ip_vs_ftp.c ipvs: do not disable bh for long time 2013-04-02 00:23:58 +02:00
ip_vs_lblc.c ipvs: fix sparse warnings in lblc and lblcr 2013-04-23 11:43:05 +09:00
ip_vs_lblcr.c ipvs: fix sparse warnings in lblc and lblcr 2013-04-23 11:43:05 +09:00
ip_vs_lc.c ipvs: convert services to rcu 2013-04-02 00:23:58 +02:00
ip_vs_nfct.c ipvs: remove silly double assignment 2012-10-28 22:50:51 +01:00
ip_vs_nq.c ipvs: convert services to rcu 2013-04-02 00:23:58 +02:00
ip_vs_pe_sip.c ipvs: Use min3() in ip_vs_dbg_callid() 2013-04-23 11:43:06 +09:00
ip_vs_pe.c ipvs: convert services to rcu 2013-04-02 00:23:58 +02:00
ip_vs_proto_ah_esp.c ipvs: API change to avoid rescan of IPv6 exthdr 2012-09-28 11:34:33 +09:00
ip_vs_proto_sctp.c ipvs: off by one in set_sctp_state() 2013-04-23 11:43:06 +09:00
ip_vs_proto_tcp.c ipvs: do not disable bh for long time 2013-04-02 00:23:58 +02:00
ip_vs_proto_udp.c ipvs: convert services to rcu 2013-04-02 00:23:58 +02:00
ip_vs_proto.c ipvs: Trivial changes, use compressed IPv6 address in output 2012-09-28 11:33:52 +09:00
ip_vs_rr.c ipvs: do not disable bh for long time 2013-04-02 00:23:58 +02:00
ip_vs_sched.c ipvs: convert services to rcu 2013-04-02 00:23:58 +02:00
ip_vs_sed.c ipvs: convert services to rcu 2013-04-02 00:23:58 +02:00
ip_vs_sh.c ipvs: convert services to rcu 2013-04-02 00:23:58 +02:00
ip_vs_sync.c ipvs: Use network byte order for sync message size 2013-04-23 11:43:06 +09:00
ip_vs_wlc.c ipvs: convert services to rcu 2013-04-02 00:23:58 +02:00
ip_vs_wrr.c ipvs: do not disable bh for long time 2013-04-02 00:23:58 +02:00
ip_vs_xmit.c ipvs: do not disable bh for long time 2013-04-02 00:23:58 +02:00
Kconfig ipvs: Complete IPv6 fragment handling for IPVS 2012-09-28 11:34:24 +09:00
Makefile IPVS: sip persistence engine 2010-10-04 22:45:24 +09:00