commit | c5d3687f6cfed185c2c0b29a5b33273ebd2c0781 | [log] [tgz] |
---|---|---|
author | alex.bluesman.smirnov@gmail.com <alex.bluesman.smirnov@gmail.com> | Mon Jun 25 03:49:01 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Jun 25 16:40:31 2012 -0700 |
tree | c5443136aa55edfbd19ba7b41b9aced35338c140 | |
parent | 1d5873e9d75bb72012a6c1327a368d0d2b13581f [diff] |
6lowpan: read data from skb safely 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>