Search Linux Wireless

Re: [PATCH 2/2] mac80211: let unused MPP table entries timeout

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

 



On Fri, Jan 22, 2016 at 9:30 PM, Bob Copeland <me@xxxxxxxxxxxxxxx> wrote:
> On Tue, Jan 19, 2016 at 09:04:32AM +0100, Henning Rogge wrote:
>> Remember the last time when a mpp table entry is used for
>> rx or tx and remove them after MESH_PATH_EXPIRE time.
>
> FYI I have a patch set I'm testing which rewrites a big chunk of
> the path table stuff.

Does it include some cleanup paths for the MPP table? At the moment
the "missing cleanup" still allows remote users to make the Linux
kernel to allocate as much memory as it wants... with no way to free
it except for shutting down the interface.

If you run a "meshed group of Access Points", any user of the AP could
run an attack on the kernel of all mesh nodes by changing its MAC
address very often.

> As I haven't posted it yet, I guess it doesn't matter if this
> goes in first or not, I can adjust -- but it will conflict as-is.
> I was hoping to post it early next week after a few fixes.
>
> Let me know if you want me to base on top.

I would like them to go in first... my experience of the kernel code
(outside some parts of the wifi stack) is not that good, so I don't
know how long I would need to adapt the patches to your new data
structures.

Most likely it is not that complicated, but I don't know.

> Shortlog looks like:
>
> Bob Copeland (6):
>       mac80211: mesh: move path tables into ieee82011_if_mesh
>       mac80211: mesh: don't hash subif data in mesh path tables
>       mac80211: mesh: factor out common mesh path allocation code
>       mac80211: mesh: embed known gates list in struct mesh_path
>       mac80211: mesh: convert path table to rhashtable
>       mac80211: mesh: get rid of write-only field mean_chain_len

Sounds useful, the 80211s data structures are really a mess.

Henning
--
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