Source-Changes archive

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

CVS commit: [netbsd-5] src/sys/net



Module Name:    src
Committed By:   bouyer
Date:           Sat Nov 28 15:47:05 UTC 2009

Modified Files:
        src/sys/net [netbsd-5]: if.c

Log Message:
Pull up following revision(s) (requested by joerg in ticket #1148):
        sys/net/if.c: revision 1.241
Simplify ifreq_setaddr:
- Drop the INET6 block. The commands are never given to this function
  and truncating the sockaddr is arguably not the desired result anyway.
- Clear the address before copying. This fixes SIOCGIFNETMASK and possible
  other ioctls for users that don't check sa_len. This includes
  COMPAT_43 and Linux emulation.
OK dyoung@


To generate a diff of this commit:
cvs rdiff -u -r1.230.4.1 -r1.230.4.2 src/sys/net/if.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