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>
This commit is contained in:
@@ -3215,9 +3215,11 @@ static int packet_getsockopt(struct socket *sock, int level, int optname,
|
||||
|
||||
if (po->tp_version == TPACKET_V3) {
|
||||
lv = sizeof(struct tpacket_stats_v3);
|
||||
st.stats3.tp_packets += st.stats3.tp_drops;
|
||||
data = &st.stats3;
|
||||
} else {
|
||||
lv = sizeof(struct tpacket_stats);
|
||||
st.stats1.tp_packets += st.stats1.tp_drops;
|
||||
data = &st.stats1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user