]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
icmp: avoid allocating large struct on stack
authorCong Wang <amwang@redhat.com>
Sun, 2 Jun 2013 15:00:52 +0000 (15:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Jun 2013 07:28:44 +0000 (00:28 -0700)
commit9a99d4a50cb8ce516adf0f2436138d4c8e6e4535
treef8854a80373f9288f1ee27a8d0ab54d46b256a57
parent08578d8d4eb76b7afe314fa03abe167761462fe4
icmp: avoid allocating large struct on stack

struct icmp_bxm is a large struct, reduce stack usage
by allocating it on heap.

Cc: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Joe Perches <joe@perches.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/icmp.c