Source-Changes-HG archive

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

[src/netbsd-3]: src/sys/net Pull up revision 1.51 (requested by christos in t...



details:   https://anonhg.NetBSD.org/src/rev/231422c7a5cb
branches:  netbsd-3
changeset: 575912:231422c7a5cb
user:      tron <tron%NetBSD.org@localhost>
date:      Sat May 28 13:15:32 2005 +0000

description:
Pull up revision 1.51 (requested by christos in ticket #330):
PR/30285: Mile Nordin: incorrect permission check joining/leaving multicast
groups.

diffstat:

 sys/net/if_gif.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r 04f3e6615551 -r 231422c7a5cb sys/net/if_gif.c
--- a/sys/net/if_gif.c  Sat May 28 13:10:23 2005 +0000
+++ b/sys/net/if_gif.c  Sat May 28 13:15:32 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_gif.c,v 1.50 2005/02/26 22:45:09 perry Exp $        */
+/*     $NetBSD: if_gif.c,v 1.50.2.1 2005/05/28 13:15:32 tron Exp $     */
 /*     $KAME: if_gif.c,v 1.76 2001/08/20 02:01:02 kjc Exp $    */
 
 /*
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_gif.c,v 1.50 2005/02/26 22:45:09 perry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_gif.c,v 1.50.2.1 2005/05/28 13:15:32 tron Exp $");
 
 #include "opt_inet.h"
 #include "opt_iso.h"
@@ -602,8 +602,6 @@
 
        case SIOCADDMULTI:
        case SIOCDELMULTI:
-               if ((error = suser(p->p_ucred, &p->p_acflag)) != 0)
-                       break;
                switch (ifr->ifr_addr.sa_family) {
 #ifdef INET
                case AF_INET:   /* IP supports Multicast */



Home | Main Index | Thread Index | Old Index