[openib-general] [Bug 326] New: match_token doesn't consume/userstand trailing \n when parsing integer options

bugzilla-daemon at lists.openfabrics.org bugzilla-daemon at lists.openfabrics.org
Fri Jan 26 13:08:51 PST 2007


https://bugs.openfabrics.org/show_bug.cgi?id=326

           Summary: match_token doesn't consume/userstand trailing \n when
                    parsing integer options
           Product: OpenFabrics Linux
           Version: 1.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: SRP
        AssignedTo: bugzilla at openib.org
        ReportedBy: chas at cmf.nrl.navy.mil


if i use the following to login to an srp target:

echo
id_ext=200600A0B80BDE31,ioc_guid=0002c90200400138,dgid=fe800000000000000002c90200400139,pkey=ffff,service_id=200600a0b80bde31,max_sect=1024
> /sys/class/infiniband_srp/srp-mthca0-1/add_target

i get the following error in dmesg:

ib_srp: unknown parameter or missing value 'max_sect=1024
' in target creation request

a workaround is to use echo -n or put max_sect=1024 at the beginning.  don't
know what the right fix it.  trim trailing \r\n being parsing?


-- 
Configure bugmail: https://bugs.openfabrics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the general mailing list