]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
team: use strlcpy with ethtool_drvinfo fields
authorFlavio Leitner <fbl@redhat.com>
Sat, 5 Jan 2013 02:53:10 +0000 (02:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Jan 2013 05:12:25 +0000 (21:12 -0800)
commit3066af582fd8084d9767ee8a71b8778360813106
tree0db92f7b0fb15a548ec5813addc0b8e8caeacae7
parent5d134f1c1f36166e8a738de92c4d2f4c262ff91b
team: use strlcpy with ethtool_drvinfo fields

The fields must be null-terminated.

Signed-off-by: Flavio Leitner <fbl@redhat.com>
Acked-by: Jiri Pirko <jiri@resnulli.us>
Acked-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/team/team.c