[PATCH 3/3] Adapt TCP and TCPv6 to the socket address caching layer

Mike Frysinger vapier at gentoo.org
Thu Mar 19 22:45:14 UTC 2015


On 20 Mar 2015 01:17, Masatake YAMATO wrote:
> +	struct inet4_entry *entry4 = (struct inet4_entry *)entry;

seems like the scache logic should have helpers for this

> +static struct scache_protocol udp_protocol = {
> +static struct scache_protocol tcp_protocol = {
> +static struct scache_protocol udpv6_protocol = {
> +static struct scache_protocol tcpv6_protocol = {

mark these const

> +		scache_entries_add (entry);

no space before the (
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20150319/6286cd7c/attachment.bin>


More information about the Strace-devel mailing list