6lowpan: read data from skb safely
authoralex.bluesman.smirnov@gmail.com <alex.bluesman.smirnov@gmail.com>
Mon, 25 Jun 2012 03:49:01 +0000 (03:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Jun 2012 23:40:31 +0000 (16:40 -0700)
Check if skb buffer can pull requested amount of bytes and return
an error in opposite case.

Signed-off-by: Alexander Smirnov <alex.bluesman.smirnov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found