summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flowtop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/flowtop.c b/flowtop.c
index 0d36a0a..9df4bdb 100644
--- a/flowtop.c
+++ b/flowtop.c
@@ -1132,6 +1132,7 @@ static void conntrack_acct_enable(void)
if (sysctl_get_int("net/netfilter/nf_conntrack_acct", &sysctl.nfct_acct)) {
fprintf(stderr, "Can't read net/netfilter/nf_conntrack_acct: %s\n",
strerror(errno));
+ return;
}
if (sysctl.nfct_acct == 1)
@@ -1148,6 +1149,7 @@ static void conntrack_tstamp_enable(void)
if (sysctl_get_int("net/netfilter/nf_conntrack_timestamp", &sysctl.nfct_tstamp)) {
fprintf(stderr, "Can't read net/netfilter/nf_conntrack_timestamp: %s\n",
strerror(errno));
+ return;
}
if (sysctl.nfct_tstamp == 1)
f6255132373ed35d13e7b1d8d2eb7003'>370ebb0ef6255132373ed35d13e7b1d8d2eb7003 (diff)
usbnet: pegasus: Use net_device_stats from struct net_devicends-private-remove
Instead of using a private copy of struct net_device_stats in struct pegasus, use stats from struct net_device. Also remove the now unnecessary .ndo_get_stats function. Cc: Petko Manolov <petkan@nucleusys.com> Cc: linux-usb@vger.kernel.org Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'Documentation/devicetree/bindings/pinctrl/brcm,cygnus-pinmux.txt')