net: add common accessor for setting dropcount on packets
authorEyal Birger <eyal.birger@gmail.com>
Sun, 1 Mar 2015 12:58:30 +0000 (14:58 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Mar 2015 05:19:30 +0000 (00:19 -0500)
commit3bc3b96f3b455bd14a8ccd83ffffc85625aba641
treeed9f7a38da7dd0d579f3ca55591842b29aa857ad
parentb4772ef879a8f7d8c56118c2ae5a296fcf6f81d2
net: add common accessor for setting dropcount on packets

As part of an effort to move skb->dropcount to skb->cb[], use
a common function in order to set dropcount in struct sk_buff.

Signed-off-by: Eyal Birger <eyal.birger@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h
net/core/sock.c
net/packet/af_packet.c