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 <shah...@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!
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to