diff options
Diffstat (limited to 'net/ipv4/raw.c')
-rw-r--r-- | net/ipv4/raw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/raw.c b/net/ipv4/raw.c index 91a52184351d..85c08696abbe 100644 --- a/net/ipv4/raw.c +++ b/net/ipv4/raw.c | |||
@@ -558,7 +558,7 @@ static int raw_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg, | |||
558 | } | 558 | } |
559 | 559 | ||
560 | security_sk_classify_flow(sk, &fl); | 560 | security_sk_classify_flow(sk, &fl); |
561 | err = ip_route_output_flow(&rt, &fl, sk, 1); | 561 | err = ip_route_output_flow(&init_net, &rt, &fl, sk, 1); |
562 | } | 562 | } |
563 | if (err) | 563 | if (err) |
564 | goto done; | 564 | goto done; |