svn commit: r253048 - in head/sys/ofed: drivers/net/mlx4 include/linux

Garrett Cooper yaneurabeya at gmail.com
Mon Jul 8 22:13:26 UTC 2013


On Jul 8, 2013, at 2:25 PM, John Baldwin wrote:

> Author: jhb
> Date: Mon Jul  8 21:25:12 2013
> New Revision: 253048
> URL: http://svnweb.freebsd.org/changeset/base/253048
> 
> Log:
>  Allow mlx4 devices to switch from Ethernet to Infiniband (and vice versa):
>  - Fix sysctl wrapper for sysfs attributes to properly handle new string
>    values similar to sysctl_handle_string() (only copyin the user's
>    supplied length and nul-terminate the string).
>  - Don't check for a trailing newline when evaluating the desired operating
>    mode of a mlx4 device.
> 
>  PR:		kern/179999
>  Submitted by:	Shahar Klein <shahark at mellanox.com>
>  MFC after:	1 week

Was there an issue with the patch I submitted via http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/174213 (basically solving the same problem, but only with the sysfs <-> sysctl(9) handler)? I was of the impression that sysfs on Linux always added on trailing newlines (but I could be wrong because I haven't used Linux at a dev level for ages). Thanks!


More information about the svn-src-head mailing list