[NETFILTER]: Rename skb_ip_make_writable() to skb_make_writable()
There is nothing IPv4-specific in it. In fact, it was already used by IPv6, too... Upcoming nfnetlink_queue code will use it for any kind of packet. Signed-off-by: Harald Welte <laforge@netfilter.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
373ac73595
commit
089af26c70
@@ -384,7 +384,7 @@ ipq_mangle_ipv6(ipq_verdict_msg_t *v, struct ipq_queue_entry *e)
|
||||
}
|
||||
skb_put(e->skb, diff);
|
||||
}
|
||||
if (!skb_ip_make_writable(&e->skb, v->data_len))
|
||||
if (!skb_make_writable(&e->skb, v->data_len))
|
||||
return -ENOMEM;
|
||||
memcpy(e->skb->data, v->payload, v->data_len);
|
||||
e->skb->ip_summed = CHECKSUM_NONE;
|
||||
|
Reference in New Issue
Block a user