]> git.baikalelectronics.ru Git - kernel.git/commit
gigaset: linearize skb
authorTilman Schmidt <tilman@imap.cc>
Tue, 6 Oct 2009 12:18:31 +0000 (12:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Oct 2009 05:20:58 +0000 (22:20 -0700)
commitb08489f0382cb9820ece91501f3526a4c0f72ee6
treeda17fe435e47009304ebb3a5052eedf7aeae8249
parent1cbb1f85b3a005b6346f9bde5b7f44cc3f2aff7c
gigaset: linearize skb

The code of the Gigaset driver assumes that sk_buff-s coming
from the ISDN4Linux subsystem are always linear. Explicitly
calling skb_linearize() is cheap if they are, but much more
robust in case they ever aren't.

Impact: robustness improvement
Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/gigaset/i4l.c