Force DP_GENL_A_DP_NAME and DP_GENL_A_PORTNAME to be null-terminated.
authorBen Pfaff <blp@nicira.com>
Tue, 30 Dec 2008 20:34:39 +0000 (12:34 -0800)
committerBen Pfaff <blp@nicira.com>
Tue, 30 Dec 2008 20:34:39 +0000 (12:34 -0800)
commitf4e93fd7ae79b95bbedf2fc235be4416e64e1a8c
treea1b962d64e5b6c668871dcc36701be046f3ec671
parent35347c4ed1ae358d61fcf7d89c8bd6e62eacefe9
Force DP_GENL_A_DP_NAME and DP_GENL_A_PORTNAME to be null-terminated.

The kernel doesn't check for a null terminator on strings in Netlink
attributes unless you force it to do so.
datapath/datapath.c