Changeset 45f9cd0 in rtems


Ignore:
Timestamp:
Nov 2, 2012, 1:45:50 PM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.10
Children:
95f3656
Parents:
0e75aae5
git-author:
Sebastian Huber <sebastian.huber@…> (11/02/12 13:45:50)
git-committer:
Gedare Bloom <gedare@…> (01/11/18 17:43:25)
Message:

libnetworking: Disconnect after mbuf shortage

The missing disconnect left the socket in an unusable state. Each send
request resulted in an EISCONN error.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libnetworking/netinet/udp_usrreq.c

    r0e75aae5 r45f9cd0  
    400400        if (m == 0) {
    401401                error = ENOBUFS;
    402                 if (addr)
     402                if (addr) {
     403                        in_pcbdisconnect(inp);
     404                        inp->inp_laddr = laddr;
    403405                        splx(s);
     406                }
    404407                goto release;
    405408        }
Note: See TracChangeset for help on using the changeset viewer.