diff options
author | Edward Cree <[email protected]> | 2018-07-02 16:14:34 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-07-04 14:06:20 +0900 |
commit | 5fa12739a53d0780265ed9d44d9ec9ba5f9ad00a (patch) | |
tree | 0fce3a8301b230876e61b1e940a8aad6ff816dbf /lib/test_overflow.c | |
parent | 17266ee939849cb095ed7dd9edbec4162172226b (diff) |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions