]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
.24 patch
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 28 Apr 2008 18:17:21 +0000 (11:17 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 28 Apr 2008 18:17:21 +0000 (11:17 -0700)
queue-2.6.24/isdn-do-not-validate-isdn-net-device-address-prior-to-interface-up.patch [new file with mode: 0644]
queue-2.6.24/series

diff --git a/queue-2.6.24/isdn-do-not-validate-isdn-net-device-address-prior-to-interface-up.patch b/queue-2.6.24/isdn-do-not-validate-isdn-net-device-address-prior-to-interface-up.patch
new file mode 100644 (file)
index 0000000..52f3b4f
--- /dev/null
@@ -0,0 +1,28 @@
+From d2dcba612b357a4687843ad4f46629d219233fd7 Mon Sep 17 00:00:00 2001
+From: Paul Bolle <pebolle@tiscali.nl>
+Date: Sun, 13 Apr 2008 22:44:20 -0700
+Subject: ISDN: Do not validate ISDN net device address prior to interface-up
+
+Commit bada339 (Validate device addr prior to interface-up) caused a regression
+in the ISDN network code, see: http://bugzilla.kernel.org/show_bug.cgi?id=9923
+The trivial fix is to remove the pointer to eth_validate_addr() in the
+net_device struct in isdn_net_init().
+
+Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
+Signed-off-by: David S. Miller <davem@davemloft.net>
+Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
+
+---
+ drivers/isdn/i4l/isdn_net.c |    1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/drivers/isdn/i4l/isdn_net.c
++++ b/drivers/isdn/i4l/isdn_net.c
+@@ -2010,6 +2010,7 @@ isdn_net_init(struct net_device *ndev)
+       ndev->flags = IFF_NOARP|IFF_POINTOPOINT;
+       ndev->type = ARPHRD_ETHER;
+       ndev->addr_len = ETH_ALEN;
++      ndev->validate_addr = NULL;
+       /* for clients with MPPP maybe higher values better */
+       ndev->tx_queue_len = 30;
index 7e71c57df9d0d153c7fca11794e20639f850597a..5066f3a1b3d676acb7d08e0312d9283e3f878b4e 100644 (file)
@@ -6,3 +6,4 @@ increase-the-max_burst-threshold-from-3-to-tp-reordering.patch
 usb-remove-broken-usb-serial-num_endpoints-check.patch
 v4l-fix-vidiocgap-corruption-in-ivtv.patch
 v4l-cx88-enable-radio-gpio-correctly.patch
+isdn-do-not-validate-isdn-net-device-address-prior-to-interface-up.patch