aboutsummaryrefslogtreecommitdiffstats
path: root/net/packet
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2013-08-26 16:37:08 -0400
committerDavid S. Miller <davem@davemloft.net>2013-08-26 16:37:08 -0400
commitb05930f5d1c7d5873cb050261d21789a99de9d48 (patch)
tree2d374846712b0bdacc5dd0a36b3c2f754886e560 /net/packet
parentb65f63ee845136940db985f3072335d8cdb6fd6c (diff)
parent41a00f7950a6bc0aa956f6d6b423f0fbf34d431a (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts: drivers/net/wireless/iwlwifi/pcie/trans.c include/linux/inetdevice.h The inetdevice.h conflict involves moving the IPV4_DEVCONF values into a UAPI header, overlapping additions of some new entries. The iwlwifi conflict is a context overlap. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/packet')
-rw-r--r--net/packet/af_packet.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c
index 6c53dd9f5ccc..1fdf9ab91c3f 100644
--- a/net/packet/af_packet.c
+++ b/net/packet/af_packet.c
@@ -3215,9 +3215,11 @@ static int packet_getsockopt(struct socket *sock, int level, int optname,
3215 3215
3216 if (po->tp_version == TPACKET_V3) { 3216 if (po->tp_version == TPACKET_V3) {
3217 lv = sizeof(struct tpacket_stats_v3); 3217 lv = sizeof(struct tpacket_stats_v3);
3218 st.stats3.tp_packets += st.stats3.tp_drops;
3218 data = &st.stats3; 3219 data = &st.stats3;
3219 } else { 3220 } else {
3220 lv = sizeof(struct tpacket_stats); 3221 lv = sizeof(struct tpacket_stats);
3222 st.stats1.tp_packets += st.stats1.tp_drops;
3221 data = &st.stats1; 3223 data = &st.stats1;
3222 } 3224 }
3223 3225