aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp/sm_make_chunk.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-11-10 11:50:21 +0100
committerDavid S. Miller <davem@davemloft.net>2014-11-11 15:15:03 -0500
commit5748eb8f8e989a9da1ac7c96dc73d68cbdedf7df (patch)
treec2543dfacb1d0904ef6f81898dbf05834d4a79aa /net/sctp/sm_make_chunk.c
parentnet/mlx4_en: Advertize encapsulation offloads features only when VXLAN tunnel is set (diff)
downloadlinux-dev-5748eb8f8e989a9da1ac7c96dc73d68cbdedf7df.tar.xz
linux-dev-5748eb8f8e989a9da1ac7c96dc73d68cbdedf7df.zip
net: ppp: Don't call bpf_prog_create() in ppp_lock
In ppp_ioctl(), bpf_prog_create() is called inside ppp_lock, which eventually calls vmalloc() and hits BUG_ON() in vmalloc.c. This patch works around the problem by moving the allocation outside the lock. The bug was revealed by the recent change in net/core/filter.c, as it allocates via vmalloc() instead of kmalloc() now. Reported-and-tested-by: Stefan Seyfried <stefan.seyfried@googlemail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions