[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20081120.042019.47910413.davem@davemloft.net>
Date: Thu, 20 Nov 2008 04:20:19 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: adobriyan@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] net: fix tiny output corruption of /proc/net/snmp6
From: Alexey Dobriyan <adobriyan@...il.com>
Date: Thu, 20 Nov 2008 12:08:07 +0300
> Because "name" is static, it can be occasionally be filled with
> somewhat garbage if two processes read /proc/net/snmp6.
>
> Also, remove useless casts and "-1" -- snprintf() correctly terminates it's
> output.
>
> Signed-off-by: Alexey Dobriyan <adobriyan@...il.com>
Applied, thanks Alexey.
--
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