Search Linux Wireless

Re: [PATCH] nl80211: Don't touch split_start when split dump is not used

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2014-01-16 14:16, Johannes Berg wrote:
On Thu, 2014-01-16 at 14:06 +0100, Pontus Fuchs wrote:
When the netlink skb is exhausted split_start is left set. In the
subsequent retry, with a larger buffer, the dump is continued from the
failing point instead of from the beginning.

+static void split_start_inc(struct nl80211_dump_wiphy_state *state)
+{
+	if (state->split)
+		state->split_start++;
+}

Wouldn't it be easier to just reset it in this case?

Sure. If you prefer that I can do that instead.

//Pontus

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux