]> git.baikalelectronics.ru Git - kernel.git/commit
caif: make zero a legal caif connetion id.
authorsjur.brandeland@stericsson.com <sjur.brandeland@stericsson.com>
Sun, 11 Mar 2012 10:28:32 +0000 (10:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Mar 2012 22:38:16 +0000 (15:38 -0700)
commit7bad0c189937af92d24760b74d1b21f5a4dfd7b8
tree68ea01fce98ab33507788f2c1ae8f830c077e987
parent83eee8e278dc12e2f4a853c15d6b3e170bea1b0e
caif: make zero a legal caif connetion id.

Connection ID configured through RTNL must allow zero as
connection id. If connection-id is not given when creating the
interface, configure a loopback interface using ifindex as
connection-id.

Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/caif/chnl_net.c