summaryrefslogtreecommitdiff
path: root/bpfc.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2016-04-21 15:03:24 +0200
committerTobias Klauser <tklauser@distanz.ch>2016-04-21 15:03:24 +0200
commitbb9eb3eaa03eecbf169489d3be83ddccf7b77815 (patch)
tree7f6fc8a0235f0a50bd3f1c0ee5e3933d5ce93b2a /bpfc.c
parentfa71d0f64d30ab81e35942a5a3bb77c464d2ad51 (diff)
trafgen: proto: Inline proto_current_header() into its only caller
proto_lower_header() is the only caller for proto_current_header() which already checks header_count > 0, so inline proto_current_header() and omit the additional check and a panic() which thus can never be triggered. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'bpfc.c')
0 files changed, 0 insertions, 0 deletions
The last three patches build on top of previous work and introduce the necessary changes in the mlxsw driver. The biggest change is the introduction of a FIB node, where identical routes are chained, instead of a primitive reference counting. This is explained in detail in the fifth patch. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat