caif: Ldisc add permission check and mem-alloc error check
authorSjur Braendeland <sjur.brandeland@stericsson.com>
Wed, 28 Apr 2010 08:54:34 +0000 (08:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Apr 2010 19:55:10 +0000 (12:55 -0700)
Changes:
   o Added permission checks for installing. CAP_SYS_ADMIN and
     CAP_SYS_TTY_CONFIG can install the ldisc.
   o Check if allocation of skb was successful.

Signed-off-by: Sjur Braendeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found