dst: Pass net into dst->output
The network namespace is already passed into dst_output pass it into dst->output lwt->output and friends. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
33224b16ff
commit
ede2059dba
@@ -37,7 +37,7 @@ static unsigned int mpls_encap_size(struct mpls_iptunnel_encap *en)
|
||||
return en->labels * sizeof(struct mpls_shim_hdr);
|
||||
}
|
||||
|
||||
int mpls_output(struct sock *sk, struct sk_buff *skb)
|
||||
int mpls_output(struct net *net, struct sock *sk, struct sk_buff *skb)
|
||||
{
|
||||
struct mpls_iptunnel_encap *tun_encap_info;
|
||||
struct mpls_shim_hdr *hdr;
|
||||
|
||||
Reference in New Issue
Block a user