Revert "icmp: avoid allocating large struct on stack"
authorJesper Dangaard Brouer <brouer@redhat.com>
Mon, 9 Jan 2017 15:04:04 +0000 (16:04 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Jan 2017 20:49:12 +0000 (15:49 -0500)
commit8d9ba388f35b3c681975a6b3f6ba60bb42c98f8d
tree311b5282a26018702efe2919fd7565682ad4688a
parentaaa9c1071da4cb231fca0774b01ee5792aa60f8a
Revert "icmp: avoid allocating large struct on stack"

This reverts commit 9a99d4a50cb8 ("icmp: avoid allocating large struct
on stack"), because struct icmp_bxm no really a large struct, and
allocating and free of this small 112 bytes hurts performance.

Fixes: 9a99d4a50cb8 ("icmp: avoid allocating large struct on stack")
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/icmp.c