Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Apply patch from PR/48310 - kue(4) cannot receiv...
details: https://anonhg.NetBSD.org/src/rev/a412e181ccdc
branches: trunk
changeset: 790515:a412e181ccdc
user: skrll <skrll%NetBSD.org@localhost>
date: Wed Oct 16 07:34:20 2013 +0000
description:
Apply patch from PR/48310 - kue(4) cannot receive multicast packets.
diffstat:
sys/dev/usb/if_kue.c | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diffs (33 lines):
diff -r 47918e58189f -r a412e181ccdc sys/dev/usb/if_kue.c
--- a/sys/dev/usb/if_kue.c Tue Oct 15 23:59:36 2013 +0000
+++ b/sys/dev/usb/if_kue.c Wed Oct 16 07:34:20 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_kue.c,v 1.79 2013/01/05 01:30:15 christos Exp $ */
+/* $NetBSD: if_kue.c,v 1.80 2013/10/16 07:34:20 skrll Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
@@ -71,7 +71,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_kue.c,v 1.79 2013/01/05 01:30:15 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_kue.c,v 1.80 2013/10/16 07:34:20 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -1038,8 +1038,12 @@
break;
case SIOCADDMULTI:
case SIOCDELMULTI:
- kue_setmulti(sc);
- error = 0;
+ error = ether_ioctl(ifp, command, data);
+ if (error == ENETRESET) {
+ if (ifp->if_flags & IFF_RUNNING)
+ kue_setmulti(sc);
+ error = 0;
+ }
break;
default:
error = ether_ioctl(ifp, command, data);
Home |
Main Index |
Thread Index |
Old Index