diff options
author | Edward Cree <ecree@solarflare.com> | 2018-07-02 18:14:34 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-04 08:06:20 +0300 |
commit | 5fa12739a53d0780265ed9d44d9ec9ba5f9ad00a (patch) | |
tree | 0fce3a8301b230876e61b1e940a8aad6ff816dbf /virt | |
parent | 17266ee939849cb095ed7dd9edbec4162172226b (diff) | |
download | linux-5fa12739a53d0780265ed9d44d9ec9ba5f9ad00a.tar.xz |
net: ipv4: listify ip_rcv_finish
ip_rcv_finish_core(), if it does not drop, sets skb->dst by either early
demux or route lookup. The last step, calling dst_input(skb), is left to
the caller; in the listified case, we split to form sublists with a common
dst, but then ip_sublist_rcv_finish() just calls dst_input(skb) in a loop.
The next step in listification would thus be to add a list_input() method
to struct dst_entry.
Early demux is an indirect call based on iph->protocol; this is another
opportunity for listification which is not taken here (it would require
slicing up ip_rcv_finish_core() to allow splitting on protocol changes).
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions