Re: [Xen-devel] [PATCH] tools/xenstat: handle network interface name in uppercase.

2016-04-20 Thread Wei Liu
On Wed, Apr 20, 2016 at 04:12:59PM +0100, Wei Liu wrote: > On Wed, Apr 20, 2016 at 10:16:35AM -0400, Zhigang Wang wrote: > > xentop will segmentation fault in this case: > > > > # ip link set eth1 down > > # ip link set eth1 name ETH > > # xentop > > > > This patch will let xentop to handle

Re: [Xen-devel] [PATCH] tools/xenstat: handle network interface name in uppercase.

2016-04-20 Thread Wei Liu
On Wed, Apr 20, 2016 at 10:16:35AM -0400, Zhigang Wang wrote: > xentop will segmentation fault in this case: > > # ip link set eth1 down > # ip link set eth1 name ETH > # xentop > > This patch will let xentop to handle all uppercase network interface name. > > Signed-off-by: Zhigang Wang

[Xen-devel] [PATCH] tools/xenstat: handle network interface name in uppercase.

2016-04-20 Thread Zhigang Wang
xentop will segmentation fault in this case: # ip link set eth1 down # ip link set eth1 name ETH # xentop This patch will let xentop to handle all uppercase network interface name. Signed-off-by: Zhigang Wang --- tools/xenstat/libxenstat/src/xenstat_linux.c | 7 +-- 1 file changed, 5

Re: [Xen-devel] [PATCH] tools/xenstat: handle network interface name in uppercase.

2016-04-20 Thread Wei Liu
I wasn't CC'ed so this fled my attention. On Fri, Mar 11, 2016 at 03:18:01PM -0500, Zhigang Wang wrote: > xentop will segmentation fault in this case: > > # ip link set eth1 down > # ip link set eth1 name ETH > # xentop > > This patch will let xentop to handle all uppercase network interfa

Re: [Xen-devel] [PATCH] tools/xenstat: handle network interface name in uppercase.

2016-04-19 Thread Zhigang Wang
Could anyone have a look at this patch? Thanks, Zhigang On 03/11/2016 03:18 PM, Zhigang Wang wrote: > xentop will segmentation fault in this case: > > # ip link set eth1 down > # ip link set eth1 name ETH > # xentop > > This patch will let xentop to handle all uppercase network interface

[Xen-devel] [PATCH] tools/xenstat: handle network interface name in uppercase.

2016-03-11 Thread Zhigang Wang
xentop will segmentation fault in this case: # ip link set eth1 down # ip link set eth1 name ETH # xentop This patch will let xentop to handle all uppercase network interface name. Signed-off-by: Zhigang Wang --- tools/xenstat/libxenstat/src/xenstat_linux.c | 8 ++-- 1 file changed,