Chen Gang 2e85d67690 net/rds: zero last byte for strncpy
for NUL terminated string, need be always sure '\0' in the end.

additional info:
  strncpy will pads with zeroes to the end of the given buffer.
  should initialise every bit of memory that is going to be copied to userland

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-03-08 00:35:44 -05:00
..
2012-11-19 18:59:44 -05:00
2009-02-26 23:39:25 -08:00
2012-01-12 20:05:28 -08:00
2009-02-26 23:39:26 -08:00
2013-03-04 14:12:07 -05:00
2012-07-23 01:01:44 -07:00
2012-10-09 13:57:23 -04:00
2013-03-08 00:35:44 -05:00
2012-08-22 22:52:04 -07:00
2012-08-22 22:52:04 -07:00
2011-07-01 16:16:19 -07:00