Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | routingtable: unbloat BUG() | Jason A. Donenfeld | 2017-08-02 | 1 | -3/+2 |
| | | | | Really isn't necessary. | ||||
* | global: cleanup IP header checking | Jason A. Donenfeld | 2017-06-26 | 1 | -19/+4 |
| | | | | This way is more correct and ensures we're within the skb head. | ||||
* | routingtable: Remove unnecessary check in node_placement() | Sultan Alsawaf | 2017-05-31 | 1 | -2/+1 |
| | | | | | | | node_placement() is always given the address of a stack variable for rnode, so there's no need to check if rnode is null. Signed-off-by: Sultan Alsawaf <sultanxda@gmail.com> | ||||
* | routingtable: rewrite core functions | Jason A. Donenfeld | 2017-04-21 | 1 | -285/+126 |
| | | | | | | | | | | | | | | | | | | | | | When removing by peer, prev needs to be set to *nptr in order to traverse that part of the trie. The other remove by IP function can simply be removed, as it's not in use. The root freeing function can use pre-order traversal instead of post-order. The pre-order traversal code in general is now a nice iterator macro. The common bits function can use the fast fls instructions and the match function can be rewritten to simply compare common bits. While we're at it, let's add tons of new tests, randomized checking against a dumb implementation, and graphviz output. And in general, it's nice to clean things up. | ||||
* | locking: always use _bh | Jason A. Donenfeld | 2017-04-04 | 1 | -22/+26 |
| | | | | | All locks are potentially between user context and softirq, which means we need to take the _bh variant. | ||||
* | Update copyright | Jason A. Donenfeld | 2017-01-10 | 1 | -1/+1 |
| | |||||
* | routing-table: simplify and mask reparented root | Jason A. Donenfeld | 2016-12-23 | 1 | -16/+9 |
| | |||||
* | global: move to consistent use of uN instead of uintN_t for kernel code | Jason A. Donenfeld | 2016-12-11 | 1 | -34/+34 |
| | |||||
* | headers: cleanup notices | Jason A. Donenfeld | 2016-11-21 | 1 | -1/+1 |
| | |||||
* | routing-table: mask self for better IP display | Jason A. Donenfeld | 2016-11-07 | 1 | -2/+6 |
| | |||||
* | Rework headers and includes | Jason A. Donenfeld | 2016-09-29 | 1 | -1/+1 |
| | |||||
* | routingtable: hyphen was ugly | Jason A. Donenfeld | 2016-08-22 | 1 | -0/+519 |