summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorLi Zefan2008-01-04 10:55:01 +0100
committerDavid S. Miller2008-01-29 00:00:38 +0100
commit00f5e06c032507206c4ac0c846ad82b75ae7665b (patch)
tree90511a59a2c738601d55425a8c8c5cb6e27b1025 /include/linux
parent[CONNECTOR]: add a missing break in cn_netlink_send() (diff)
downloadkernel-qcow2-linux-00f5e06c032507206c4ac0c846ad82b75ae7665b.tar.gz
kernel-qcow2-linux-00f5e06c032507206c4ac0c846ad82b75ae7665b.tar.xz
kernel-qcow2-linux-00f5e06c032507206c4ac0c846ad82b75ae7665b.zip
[CONNECTOR]: clean up {,__}cn_rx_skb()
- __cn_rx_skb() does nothing but calls cn_call_callback(), it doesn't check skb and msg sizes as the comment suggests, but cn_rx_skb() checks those sizes. - In cn_rx_skb() Local variable 'len' is not used. 'len' is probably intended to be passed to skb_pull(), but here skb_pull() is not needed, instead skb_free() is called. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions