mirror of https://gitee.com/openkylin/linux.git
ipv6: rename IP6_UPD_PO_STATS_BH()
Rename IP6_UPD_PO_STATS_BH() to __IP6_UPD_PO_STATS() Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
1d01550359
commit
c2005eb010
|
@ -175,7 +175,7 @@ extern int sysctl_mld_qrv;
|
||||||
_DEVADD(net, ipv6, 64_BH, idev, field, val)
|
_DEVADD(net, ipv6, 64_BH, idev, field, val)
|
||||||
#define IP6_UPD_PO_STATS(net, idev,field,val) \
|
#define IP6_UPD_PO_STATS(net, idev,field,val) \
|
||||||
_DEVUPD(net, ipv6, 64, idev, field, val)
|
_DEVUPD(net, ipv6, 64, idev, field, val)
|
||||||
#define IP6_UPD_PO_STATS_BH(net, idev,field,val) \
|
#define __IP6_UPD_PO_STATS(net, idev,field,val) \
|
||||||
_DEVUPD(net, ipv6, 64_BH, idev, field, val)
|
_DEVUPD(net, ipv6, 64_BH, idev, field, val)
|
||||||
#define ICMP6_INC_STATS(net, idev, field) \
|
#define ICMP6_INC_STATS(net, idev, field) \
|
||||||
_DEVINCATOMIC(net, icmpv6, , idev, field)
|
_DEVINCATOMIC(net, icmpv6, , idev, field)
|
||||||
|
|
|
@ -78,7 +78,7 @@ int ipv6_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt
|
||||||
|
|
||||||
idev = __in6_dev_get(skb->dev);
|
idev = __in6_dev_get(skb->dev);
|
||||||
|
|
||||||
IP6_UPD_PO_STATS_BH(net, idev, IPSTATS_MIB_IN, skb->len);
|
__IP6_UPD_PO_STATS(net, idev, IPSTATS_MIB_IN, skb->len);
|
||||||
|
|
||||||
if ((skb = skb_share_check(skb, GFP_ATOMIC)) == NULL ||
|
if ((skb = skb_share_check(skb, GFP_ATOMIC)) == NULL ||
|
||||||
!idev || unlikely(idev->cnf.disable_ipv6)) {
|
!idev || unlikely(idev->cnf.disable_ipv6)) {
|
||||||
|
@ -297,7 +297,7 @@ int ip6_mc_input(struct sk_buff *skb)
|
||||||
const struct ipv6hdr *hdr;
|
const struct ipv6hdr *hdr;
|
||||||
bool deliver;
|
bool deliver;
|
||||||
|
|
||||||
IP6_UPD_PO_STATS_BH(dev_net(skb_dst(skb)->dev),
|
__IP6_UPD_PO_STATS(dev_net(skb_dst(skb)->dev),
|
||||||
ip6_dst_idev(skb_dst(skb)), IPSTATS_MIB_INMCAST,
|
ip6_dst_idev(skb_dst(skb)), IPSTATS_MIB_INMCAST,
|
||||||
skb->len);
|
skb->len);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue