mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
dst: Pass a sk into .local_out
For consistency with the other similar methods in the kernel pass a struct sock into the dst_ops .local_out method. Simplifying the socket passing case is needed a prequel to passing a struct net reference into .local_out. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
13206b6bff
commit
4ebdfba73c
11 changed files with 12 additions and 10 deletions
|
@ -165,7 +165,7 @@ static struct dst_ops ipv4_dst_ops = {
|
|||
.link_failure = ipv4_link_failure,
|
||||
.update_pmtu = ip_rt_update_pmtu,
|
||||
.redirect = ip_do_redirect,
|
||||
.local_out = __ip_local_out,
|
||||
.local_out = __ip_local_out_sk,
|
||||
.neigh_lookup = ipv4_neigh_lookup,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue