]> git.baikalelectronics.ru Git - kernel.git/commit
l2tp: kzalloc with swapped params in l2tp_dfs_seq_open
authorDr. David Alan Gilbert <linux@treblig.org>
Sun, 31 Oct 2010 07:26:03 +0000 (07:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Nov 2010 13:56:02 +0000 (06:56 -0700)
commit817cbddfcbe1313614064f4e1ad5e8d8d45d4add
treeb7625065b95573275a59197db8db6877ce010dd1
parent5f329f5c079d472616c92fb6ca5a6b81c10c899c
l2tp: kzalloc with swapped params in l2tp_dfs_seq_open

  'sparse' spotted that the parameters to kzalloc in l2tp_dfs_seq_open
were swapped.

Tested on current git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
at 6a021b579c945c0f958034943e37b6a646548501  build, boots and I can see that directory,
but there again I could see /sys/kernel/debug/l2tp with it swapped; I don't have
any l2tp in use.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/l2tp/l2tp_debugfs.c