Re: dev_get_valid_name buggy with hash collision

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Octavian Purdila
Date: Wednesday, May 19, 2010 - 10:05 am

On Tuesday 18 May 2010 17:55:36 you wrote:


True, but we why not use "if (dev->name !=name)" instead of strncmp? It should 
yield the same results and it is lighter then full strncmp.

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
dev_get_valid_name buggy with hash collision, Daniel Lezcano, (Tue May 18, 3:17 am)
Re: dev_get_valid_name buggy with hash collision, Octavian Purdila, (Tue May 18, 5:29 am)
Re: dev_get_valid_name buggy with hash collision, Daniel Lezcano, (Tue May 18, 7:55 am)
Re: dev_get_valid_name buggy with hash collision, Octavian Purdila, (Wed May 19, 10:05 am)
Re: dev_get_valid_name buggy with hash collision, Daniel Lezcano, (Wed May 19, 12:39 pm)