Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   elad
Date:           Thu Apr 30 18:18:34 UTC 2009

Modified Files:
        src/sys/netinet: in_pcb.c
        src/sys/netinet6: in6_pcb.c in6_pcb.h udp6_output.c

Log Message:
- Make in6_pcbbind_{addr,port}() static

- Properly authorize port binding in in_pcbsetport() and in6_pcbsetport()

- Pass struct sockaddr_in6 to in6_pcbsetport() instead of just the address,
  so that we have a more complete context

- Adjust udp6_output() to craft a sockaddr_in6 as it calls in6_pcbsetport()

- Fix an issue in in_pcbbind() where we used the "dom_sa_any" pointer and
  not a copy of it, pointed out by bouyer@, thanks!

Mailing list reference:

        http://mail-index.netbsd.org/tech-net/2009/04/29/msg001259.html


To generate a diff of this commit:
cvs rdiff -u -r1.133 -r1.134 src/sys/netinet/in_pcb.c
cvs rdiff -u -r1.106 -r1.107 src/sys/netinet6/in6_pcb.c
cvs rdiff -u -r1.33 -r1.34 src/sys/netinet6/in6_pcb.h
cvs rdiff -u -r1.37 -r1.38 src/sys/netinet6/udp6_output.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index