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

Bug#309308: kernel-image-2.6.8-2-686-smp: VLAN Oops fix for 2.6.8



Package: kernel-image-2.6.8-2-686-smp
Followup-For: Bug #309308

Just noticed this bug in the testing-security list. I don't know if the
below patch has been slurped into the Debian patches for 2.6.8, but the
error posted looks like the same error I suffered when hitting this bug.

Patch from http://lists.osdl.org/pipermail/bridge/2004-September/000638.html

The patch was taken into 2.6.9-rc2, and the bug was in code introduced
very late in the 2.6.8 cycle. (August 2004 I believe)

diff -Nru a/net/8021q/vlan_dev.c b/net/8021q/vlan_dev.c
--- a/net/8021q/vlan_dev.c      2004-09-10 06:12:16 -07:00
+++ b/net/8021q/vlan_dev.c      2004-09-10 06:12:16 -07:00
@@ -772,7 +772,7 @@                                                                                                                                          
        case SIOCGMIIREG:
        case SIOCSMIIREG:
                if (real_dev->do_ioctl && netif_device_present(real_dev))
-                       err = real_dev->do_ioctl(dev, &ifrr, cmd);
+                       err = real_dev->do_ioctl(real_dev, &ifrr, cmd);
                break;

        case SIOCETHTOOL:

Cut and paste from the web archive, so spacing etc. may be boned.
But it's a typo-only fix anyway, so easy enough to recreate.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (950, 'unstable'), (900, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)

-- 
Paul "TBBle" Hampson, Paul.Hampson@Anu.edu.au
8th year CompSci/Asian Studies student, ANU

Shorter .sig for a more eco-friendly paperless office.

Attachment: pgpPIKMxTgptG.pgp
Description: PGP signature


Reply to: