caif: Bugfix add check NULL pointer before calling functions.
authorsjur.brandeland@stericsson.com <sjur.brandeland@stericsson.com>
Sun, 22 May 2011 11:18:50 +0000 (11:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 May 2011 00:11:47 +0000 (20:11 -0400)
commit0e5a117441ce245b87949cc7713627a293f37227
treeab454275481ff94b7830d61160470d73738e3c31
parent71a8638480eb8fb6cfabe2ee9ca3fbc6e3453a14
caif: Bugfix add check NULL pointer before calling functions.

Add check on layer->dn != NULL before calling functions in
layer below.

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