[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070927104622.GA8349@iris.sw.ru>
Date: Thu, 27 Sep 2007 14:46:22 +0400
From: "Denis V. Lunev" <den@...nvz.org>
To: davem@...emloft.net
Cc: shemminger@...ux-foundation.org, netdev@...r.kernel.org
Subject: [PATCH] fixed broken bootp compilation
Compilation fix. Extra bracket removed.
Broken by "[NET]: Wrap netdevice hardware header creation" from
Stephen Hemminger <shemminger@...ux-foundation.org>
Signed-off-by: Denis V. Lunev <den@...nvz.org>
--- ./net/ipv4/ipconfig.c.compile 2007-09-27 13:32:35.000000000 +0400
+++ ./net/ipv4/ipconfig.c 2007-09-27 14:36:19.000000000 +0400
@@ -758,7 +758,7 @@ static void __init ic_bootp_send_if(stru
skb->dev = dev;
skb->protocol = htons(ETH_P_IP);
if (dev_hard_header(skb, dev, ntohs(skb->protocol),
- dev->broadcast, dev->dev_addr, skb->len) < 0) ||
+ dev->broadcast, dev->dev_addr, skb->len) < 0 ||
dev_queue_xmit(skb) < 0)
printk("E");
}
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists