netfilter: nft_reject_bridge: fix skb allocation size in nft_reject_br_send_v6_unreach
authorTaehee Yoo <ap420073@gmail.com>
Fri, 1 Jun 2018 10:12:28 +0000 (19:12 +0900)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 4 Jun 2018 16:28:03 +0000 (18:28 +0200)
commit0cafa3926f0d8d72a2a814843f4db8cfef66d4ce
tree7d27a9ec2fc4344c282408a47e83dba6316e53ad
parent31875d4970baa02e08b719fdfea6f43e9e2f7e77
netfilter: nft_reject_bridge: fix skb allocation size in nft_reject_br_send_v6_unreach

In order to allocate icmpv6 skb, sizeof(struct ipv6hdr) should be used.

Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/bridge/netfilter/nft_reject_bridge.c