netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net] ipv6: old_dport should be a __be16 in __ip6_datagram_connect()
@ 2018-03-19 10:24 Stefano Brivio
  2018-03-20 16:09 ` Guillaume Nault
  2018-03-20 16:45 ` David Miller
  0 siblings, 2 replies; 3+ messages in thread
From: Stefano Brivio @ 2018-03-19 10:24 UTC (permalink / raw)
  To: David S . Miller; +Cc: Paolo Abeni, Wei Wang, Guillaume Nault, netdev

Fixes: 2f987a76a977 ("net: ipv6: keep sk status consistent after datagram connect failure")
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Acked-by: Paolo Abeni <pabeni@redhat.com>
---
 net/ipv6/datagram.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/ipv6/datagram.c b/net/ipv6/datagram.c
index 8a9ac2d0f5d3..a9f7eca0b6a3 100644
--- a/net/ipv6/datagram.c
+++ b/net/ipv6/datagram.c
@@ -149,7 +149,7 @@ int __ip6_datagram_connect(struct sock *sk, struct sockaddr *uaddr,
 	struct in6_addr		*daddr, old_daddr;
 	__be32			fl6_flowlabel = 0;
 	__be32			old_fl6_flowlabel;
-	__be32			old_dport;
+	__be16			old_dport;
 	int			addr_type;
 	int			err;
 
-- 
2.15.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH net] ipv6: old_dport should be a __be16 in __ip6_datagram_connect()
  2018-03-19 10:24 [PATCH net] ipv6: old_dport should be a __be16 in __ip6_datagram_connect() Stefano Brivio
@ 2018-03-20 16:09 ` Guillaume Nault
  2018-03-20 16:45 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: Guillaume Nault @ 2018-03-20 16:09 UTC (permalink / raw)
  To: Stefano Brivio; +Cc: David S . Miller, Paolo Abeni, Wei Wang, netdev

On Mon, Mar 19, 2018 at 11:24:58AM +0100, Stefano Brivio wrote:
> Fixes: 2f987a76a977 ("net: ipv6: keep sk status consistent after datagram connect failure")
> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
> Acked-by: Paolo Abeni <pabeni@redhat.com>
> ---
>  net/ipv6/datagram.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/net/ipv6/datagram.c b/net/ipv6/datagram.c
> index 8a9ac2d0f5d3..a9f7eca0b6a3 100644
> --- a/net/ipv6/datagram.c
> +++ b/net/ipv6/datagram.c
> @@ -149,7 +149,7 @@ int __ip6_datagram_connect(struct sock *sk, struct sockaddr *uaddr,
>  	struct in6_addr		*daddr, old_daddr;
>  	__be32			fl6_flowlabel = 0;
>  	__be32			old_fl6_flowlabel;
> -	__be32			old_dport;
> +	__be16			old_dport;
>  	int			addr_type;
>  	int			err;
>  
Acked-by: Guillaume Nault <g.nault@alphalink.fr>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH net] ipv6: old_dport should be a __be16 in __ip6_datagram_connect()
  2018-03-19 10:24 [PATCH net] ipv6: old_dport should be a __be16 in __ip6_datagram_connect() Stefano Brivio
  2018-03-20 16:09 ` Guillaume Nault
@ 2018-03-20 16:45 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2018-03-20 16:45 UTC (permalink / raw)
  To: sbrivio; +Cc: pabeni, weiwan, g.nault, netdev

From: Stefano Brivio <sbrivio@redhat.com>
Date: Mon, 19 Mar 2018 11:24:58 +0100

> Fixes: 2f987a76a977 ("net: ipv6: keep sk status consistent after datagram connect failure")
> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
> Acked-by: Paolo Abeni <pabeni@redhat.com>

Applied, thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-03-20 16:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-19 10:24 [PATCH net] ipv6: old_dport should be a __be16 in __ip6_datagram_connect() Stefano Brivio
2018-03-20 16:09 ` Guillaume Nault
2018-03-20 16:45 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).