Files
linux/net
Hoang Le cd80b4b7fd tipc: convert dest node's address to network order
[ Upstream commit 1980d37565 ]

(struct tipc_link_info)->dest is in network order (__be32), so we must
convert the value to network order before assigning. The problem detected
by sparse:

net/tipc/netlink_compat.c:699:24: warning: incorrect type in assignment (different base types)
net/tipc/netlink_compat.c:699:24:    expected restricted __be32 [usertype] dest
net/tipc/netlink_compat.c:699:24:    got int

Acked-by: Jon Maloy <jmaloy@redhat.com>
Signed-off-by: Hoang Le <hoang.h.le@dektech.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-05-22 10:59:39 +02:00
..
2020-07-22 09:31:58 +02:00
2019-12-05 09:21:30 +01:00
2020-10-29 09:54:55 +01:00
2018-07-24 14:10:42 -07:00
2020-12-30 11:25:44 +01:00
2018-07-24 14:10:43 -07:00