[TIPC]: Validate entire interface name when locating bearer to enable.
commit687a25f1cdfc6ee1f2f60f299dbd294908eb0d59
authorAllan Stephens <allan.stephens@windriver.com>
Mon, 26 Jun 2006 06:43:21 +0000 (25 23:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Jun 2006 06:43:21 +0000 (25 23:43 -0700)
treeca7953096dcc44c8250fc18d0a6eb0e28d97d33f
parenta592ea6362a967a49eb4b5d1cd36b78d8f180622
[TIPC]: Validate entire interface name when locating bearer to enable.

This fix prevents a bearer from being enabled using the wrong interface.
For example, specifying "eth:eth14" might enable "eth:eth1" by mistake.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Per Liden <per.liden@ericsson.com>
net/tipc/eth_media.c