caif: Allow cfpkt_extr_head to process empty message
authorsjur.brandeland@stericsson.com <sjur.brandeland@stericsson.com>
Wed, 30 Nov 2011 09:22:46 +0000 (09:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Dec 2011 04:30:47 +0000 (23:30 -0500)
commit200c5a3b387c415e49639ee0f6de37804522b745
tree41cfe46585f6d42a2f9cbf6783b8dd94d545ced5
parent7bc0f28c7a0cd19f40e5a6e4d0a117db9a4e4cd5
caif: Allow cfpkt_extr_head to process empty message

Allow NULL pointer in cfpkt_extr_head in order to
skip past header data.

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