This is the mail archive of the ecos-bugs@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1001656] FreeBSD: add AF_PACKET socket familiy


Please do not reply to this email, use the link below.

http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001656

Bernd Edlinger <bernd.edlinger@hotmail.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #1937|0                           |1
        is obsolete|                            |

--- Comment #4 from Bernd Edlinger <bernd.edlinger@hotmail.de> ---
Created attachment 2268
  --> http://bugs.ecos.sourceware.org/attachment.cgi?id=2268&action=edit
patch to implement packet sockets and various bug-fixes.

Hello,

my previus change introduced an unbalanced splnet/splx sequence in sosend().

this will be fixed with the attached update of the patch.

the only change is:
moved the splx in sosend() inside the do { } while loop.

-     splx(s);
      mp = &top;
      space -= clen;
      do {
+          splx(s);

           ....

           s = splnet();                               /* XXX */

           ...

      while (resid && space > 0);

-- 
You are receiving this mail because:
You are the assignee for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]