[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120311.194904.1190726266951277668.davem@davemloft.net>
Date: Sun, 11 Mar 2012 19:49:04 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: zenczykowski@...il.com
Cc: maze@...gle.com, netdev@...r.kernel.org
Subject: Re: [PATCH] net: get rid of some pointless casts to sockaddr
From: Maciej Żenczykowski <zenczykowski@...il.com>
Date: Sun, 11 Mar 2012 15:51:50 -0700
> From: Maciej Żenczykowski <maze@...gle.com>
>
> The following 4 functions:
> move_addr_to_kernel
> move_addr_to_user
> verify_iovec
> verify_compat_iovec
> are always effectively called with a sockaddr_storage.
>
> Make this explicit by changing their signature.
>
> This removes a large number of casts from sockaddr_storage to sockaddr.
>
> Signed-off-by: Maciej Żenczykowski <maze@...gle.com>
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