]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
openvswitch: Use nla_memcpy() to memcpy() data from attributes
authorThomas Graf <tgraf@suug.ch>
Fri, 29 Mar 2013 13:46:48 +0000 (14:46 +0100)
committerJesse Gross <jesse@nicira.com>
Sat, 30 Mar 2013 00:53:46 +0000 (17:53 -0700)
commit32686a9d2988516788cfcc402e1355c1eba1186a
tree1dddb07c73f7e8ece015c414ea517b51eddfa182
parentdded45fc179a07f4463ce37fc376977568655836
openvswitch: Use nla_memcpy() to memcpy() data from attributes

Less error prone as it takes into account the length of both the
destination buffer and the source attribute and documents when
data is copied from an attribute.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Jesse Gross <jesse@nicira.com>
net/openvswitch/datapath.c
net/openvswitch/flow.c