-ENOCOMPILE
Subsystems (3)
David Miller
maintainerVlad, you're on my shit list for the next week for submitting a patch to the 2.6.22 tree which won't even compile:
net/ipv6/addrconf.c: In function $,1rx(Baddrconf_ifdown$,1ry(B:net/ipv6/addrconf.c:2475: error: $,1rx(Bifp$,1ry(B undeclared (first use in this function) net/ipv6/addrconf.c:2475: error: (Each undeclared identifier is reported only once net/ipv6/addrconf.c:2475: error: for each function it appears in.)
Being on my shit list means that I refuse to even look at your patches until I see at least 3 other trustworthy developers explicitly ACK your patches.
I'm even more furious because it is painfully obvious how you coded up this patch, you cut and pasted another inet6addr_chain call from another function in the same file and did not even bother to compile test. That's infuriating especially because of how much of my time is consumed when I have to back out stuff like this, and it also means there is no way in the world that you actually tested that this patch fixes the SCTP bug, it can't possibly execute if it won't even compile in the first place.
Please don't do this ever again, thanks.
commit d31c5de9bcb1c5e6915f4bc6f633bf36470f74de
Author: Vlad Yasevich <[email protected]> Date: Thu Jul 5 16:59:43 2007 -0700
[IPV6]: Call inet6addr_chain notifiers on link down.
Currently if the link is brought down via ip link or ifconfig down, the inet6addr_chain notifiers are not called even though all the addresses are removed from the interface. This caused SCTP to add duplicate addresses to it's list.
net/ipv6/addrconf.c +1 -0
@@ -2472,6 +2472,7 @@ static int addrconf_ifdown(struct net_device *dev, int how)write_unlock_bh (&idev->lock);__ipv6_ifa_notify (RTM_DELADDR , ifa); +atomic_notifier_call_chain (&inet6addr_chain,NETDEV_DOWN , ifp);in6_ifa_put (ifa);write_lock_bh (&idev->lock);
net/ipv6/addrconf.c static int addrconf_ifdown(struct net_device *dev, int how) · line 2475
Quoted 10 lines · David Miller
net/ipv6/addrconf.c +1
-0@@ -2472,6 +2472,7 @@ static int addrconf_ifdown(struct net_device *dev, int how)write_unlock_bh (&idev->lock);__ipv6_ifa_notify (RTM_DELADDR , ifa); +atomic_notifier_call_chain (&inet6addr_chain,NETDEV_DOWN , ifp);
^^^^^^^
Shit. How did that thing sneak back in there.. should be 'ifa'
Yes, I cut and pasted, compiled... failed... fixed... tested... Still have that kernel running by the way.
looking...
arghhhh, wrong branch!!! <blowing it away>
I'll resubmit and you can sit on as long as you want.
-vlad
Quoted 4 lines
net/ipv6/addrconf.c +0
-0in6_ifa_put (ifa);write_lock_bh (&idev->lock);