mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
ipv6: old_dport should be a __be16 in __ip6_datagram_connect()
Fixes: 2f987a76a9 ("net: ipv6: keep sk status consistent after datagram connect failure")
Signed-off-by: Stefano Brivio <[email protected]>
Acked-by: Paolo Abeni <[email protected]>
Acked-by: Guillaume Nault <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
1 parent
8220ce6d1b
commit
5f2fb802ee
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user