Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5ad626b7 authored by Christopher N. Hesse's avatar Christopher N. Hesse Committed by bonuzzz
Browse files

net: unix: af_unix: Fix uninitialized variable

Change-Id: If3e4cd42436c95a07b6bef7851432691b5ca259b
(cherry picked from commit 7fed5d3df895af628ca2bb95621057577983dad0)
parent 4c31e1ca
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -970,7 +970,7 @@ static int unix_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len)
	struct sockaddr_un *sunaddr = (struct sockaddr_un *)uaddr;
	char *sun_path = sunaddr->sun_path;
	int err;
	unsigned int hash;
	unsigned int hash = 0;
	struct unix_address *addr;
	struct hlist_head *list;