Files
linux/include/net
Eric Dumazet b44084c2c8 inet: rename ir_loc_port to ir_num
In commit 634fb979e8 ("inet: includes a sock_common in request_sock")
I forgot that the two ports in sock_common do not have same byte order :

skc_dport is __be16 (network order), but skc_num is __u16 (host order)

So sparse complains because ir_loc_port (mapped into skc_num) is
considered as __u16 while it should be __be16

Let rename ir_loc_port to ireq->ir_num (analogy with inet->inet_num),
and perform appropriate htons/ntohs conversions.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-10-10 14:37:35 -04:00
..
2012-07-19 10:43:03 -07:00
2013-01-27 22:46:33 -05:00
2013-10-08 23:19:24 -04:00
2013-10-10 14:37:35 -04:00
2013-10-09 00:01:25 -04:00
2010-06-03 03:21:52 -07:00
2012-08-06 13:40:47 -07:00
2013-10-09 00:01:25 -04:00
2013-10-10 14:37:35 -04:00
2013-06-04 16:43:42 -07:00
2013-10-08 16:27:33 -04:00
2012-05-16 15:17:08 -04:00