Re: [BK PATCH 2.6] repost, fix sysctl breakage during network device renaming, for ipv4
From: David S. Miller <hidden>
Date: 2003-09-01 18:31:43
From: David S. Miller <hidden>
Date: 2003-09-01 18:31:43
On Mon, 1 Sep 2003 19:55:59 +0300 Dan Aloni [off-list ref] wrote:
The private copy of strdup() is something that I'd also wouldn't want, but I don't have much choice. Please read a recent thread in lkml regarding strdup() consolidation.
Ugh, I'm afraid to look... I guess the controversy is over the allocation function, what GFP_* flags it should use etc.? For now just call the thing in your patch netdev_name_dup() or something like that. I can't handle having something named "strdup()" in there :-)