[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150208.171502.1797960070992248341.davem@davemloft.net>
Date: Sun, 08 Feb 2015 17:15:02 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: linux@...musvillemoes.dk
Cc: pshelar@...ira.com, nicolas.dichtel@...nd.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] vxlan: Wrong type passed to %pIS
From: Rasmus Villemoes <linux@...musvillemoes.dk>
Date: Sat, 7 Feb 2015 03:17:31 +0100
> src_ip is a pointer to a union vxlan_addr, one member of which is a
> struct sockaddr. Passing a pointer to src_ip is wrong; one should pass
> the value of src_ip itself. Since %pIS formally expects something of
> type struct sockaddr*, let's pass a pointer to the appropriate union
> member, though this of course doesn't change the generated code.
>
> Fixes: e4c7ed415387 ("vxlan: add ipv6 support")
> Signed-off-by: Rasmus Villemoes <linux@...musvillemoes.dk>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists