* [gentoo-commits] gentoo-x86 commit in sys-freebsd/freebsd-sources/files: freebsd-sources-8.0-mf626.patch freebsd-sources-8.0-arpresolve_panic.patch
@ 2010-04-20 23:06 Javier Villavicencio (the_paya)
0 siblings, 0 replies; only message in thread
From: Javier Villavicencio (the_paya) @ 2010-04-20 23:06 UTC (permalink / raw
To: gentoo-commits
the_paya 10/04/20 23:06:53
Added: freebsd-sources-8.0-mf626.patch
freebsd-sources-8.0-arpresolve_panic.patch
Log:
Fix a kernel panic in arpresolve, and add support for my 3g modem.
(Portage version: 2.2_rc67/cvs/FreeBSD i386)
Revision Changes Path
1.1 sys-freebsd/freebsd-sources/files/freebsd-sources-8.0-mf626.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-freebsd/freebsd-sources/files/freebsd-sources-8.0-mf626.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-freebsd/freebsd-sources/files/freebsd-sources-8.0-mf626.patch?rev=1.1&content-type=text/plain
Index: freebsd-sources-8.0-mf626.patch
===================================================================
Backport this 3g modem that I have.
Given it's quite common, should be useful
And I hate when I forget to patch the kernel after a re-emerge.
--- sys/dev/usb/usbdevs.orig
+++ sys/dev/usb/usbdevs
@@ -2055,6 +2055,7 @@
product QUALCOMM2 CDMA_MSM 0x3196 CDMA Technologies MSM modem
product QUALCOMMINC CDMA_MSM 0x0001 CDMA Technologies MSM modem
product QUALCOMMINC ZTE_STOR 0x2000 USB ZTE Storage
+product QUALCOMMINC MF626 0X0031 3G modem
product QUALCOMMINC AC8700 0xfffe CDMA 1xEVDO USB modem
/* Qtronix products */
--- sys/dev/usb/serial/u3g.c.orig
+++ sys/dev/usb/serial/u3g.c
@@ -184,6 +184,7 @@
/* OEM: Qualcomm, Inc. */
U3G_DEV(QUALCOMMINC, ZTE_STOR, U3GFL_SCSI_EJECT),
U3G_DEV(QUALCOMMINC, CDMA_MSM, U3GFL_SCSI_EJECT),
+ U3G_DEV(QUALCOMMINC, MF626, 0),
/* OEM: Huawei */
U3G_DEV(HUAWEI, MOBILE, U3GFL_HUAWEI_INIT),
U3G_DEV(HUAWEI, E180V, U3GFL_HUAWEI_INIT),
1.1 sys-freebsd/freebsd-sources/files/freebsd-sources-8.0-arpresolve_panic.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-freebsd/freebsd-sources/files/freebsd-sources-8.0-arpresolve_panic.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-freebsd/freebsd-sources/files/freebsd-sources-8.0-arpresolve_panic.patch?rev=1.1&content-type=text/plain
Index: freebsd-sources-8.0-arpresolve_panic.patch
===================================================================
This one (plus a misrule in my pf.conf) made my box crash at random after 6
to 48 hours of uptime. Thanks to an incoming icmp packet.
Taken from:
http://svn.freebsd.org/viewvc/base/head/sys/netinet/if_ether.c?r1=198418&r2=201416
--- head/sys/netinet/if_ether.c
+++ head/sys/netinet/if_ether.c
@@ -372,8 +372,8 @@
if (la->la_asked < V_arp_maxtries)
error = EWOULDBLOCK; /* First request. */
else
- error =
- (rt0->rt_flags & RTF_GATEWAY) ? EHOSTUNREACH : EHOSTDOWN;
+ error = rt0 != NULL && (rt0->rt_flags & RTF_GATEWAY) ?
+ EHOSTUNREACH : EHOSTDOWN;
if (renew) {
LLE_ADDREF(la);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-04-20 23:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-20 23:06 [gentoo-commits] gentoo-x86 commit in sys-freebsd/freebsd-sources/files: freebsd-sources-8.0-mf626.patch freebsd-sources-8.0-arpresolve_panic.patch Javier Villavicencio (the_paya)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox