Re: [PATCH] All my Pcmcia cards are 'eth0'

From: Bill Nottingham
Date: Fri Nov 21 2003 - 00:20:16 EST


Andi Kleen (ak@xxxxxx) said:
> > There are some situations where you have to jump through hoops
> > because it can't atomically swap two device names (i.e.,
> > eth0 <-> eth1, but the code itself seems to work ok in use here...
>
> Adding such swapping should not be very hard if someone is motivated.
> Interestingly you're the first to complain about it missing...

When I looked at it, I assumed it was a limitation of the
kernel interface, in that it only operated on one device at
a time... or are you talking about just doing the switch in
nameif itself with a temporary device name?

Bill
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/