Re: [PATCH 4/4] pktgen: fix device name handling

2007-03-02 Thread David Miller
From: Robert Olsson <[EMAIL PROTECTED]> Date: Wed, 28 Feb 2007 18:07:09 +0100 > Yes it seems be handle dev name change. So configuration scripts should > use ifindex now :) > > Signed-off-by: Robert Olsson <[EMAIL PROTECTED]> I will apply all 4 of these patches to net-2.6.22, thanks everyone. -

[PATCH 4/4] pktgen: fix device name handling

2007-02-28 Thread Robert Olsson
Yes it seems be handle dev name change. So configuration scripts should use ifindex now :) Signed-off-by: Robert Olsson <[EMAIL PROTECTED]> Cheers. --ro Stephen Hemminger writes: > Since devices can change name and other wierdness, don't hold onto >

[PATCH 4/4] pktgen: fix device name handling

2007-02-27 Thread Stephen Hemminger
Since devices can change name and other wierdness, don't hold onto a copy of device name, instead use pointer to output device. Fix a couple of leaks in error handling path as well. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- net/core/pktgen.c | 137 +++