commit | 7d3510356b066bcfa9898ec3f90c9c7810ba6ed7 | [log] [tgz] |
---|---|---|
author | Rusty Russell <rusty@rustcorp.com.au> | Wed Aug 11 23:04:31 2010 -0600 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Wed Aug 11 23:04:32 2010 +0930 |
tree | ff39499bd06c42bc7cd3965f2491091ab937b9ee | |
parent | d6d1b650ae6acce73d55dd0246de22180303ae73 [diff] |
param: lock myri10ge_fw_name against sysfs changes. Since it can be changed via sysfs, we need to make a copy. This most generic way of doing this is to keep a flag so we know when to free it. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Reviewed-by: Takashi Iwai <tiwai@suse.de> Cc: Andrew Gallatin <gallatin@myri.com> Cc: Brice Goglin <brice@myri.com> Cc: netdev@vger.kernel.org