git: jails/netinet6: Only select jailed ips for outgoing

Markus Pfeiffer profmakx at crater.dragonflybsd.org
Sat Jan 25 11:18:26 PST 2014


commit cfd79120debdd52626136c5985f3a9e3d4fe42bf
Author: Markus Pfeiffer <markus.pfeiffer at morphism.de>
Date:   Sat Jan 25 19:01:11 2014 +0000

    jails/netinet6: Only select jailed ips for outgoing
    
    Outgoing IP address selection for jailed processes using ipv6
    was broken and selected the first ip6 address available.
    Now the code checks whether an ip6 is available to the jail
    in in6_ifawithascope.

Summary of changes:
 sys/netinet6/in6.c     |  8 +++++++-
 sys/netinet6/in6.h     |  2 +-
 sys/netinet6/in6_pcb.c | 10 +++++-----
 sys/netinet6/in6_src.c | 10 +++++-----
 4 files changed, 18 insertions(+), 12 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/cfd79120debdd52626136c5985f3a9e3d4fe42bf


-- 
DragonFly BSD source repository



More information about the Commits mailing list