net: remove ipv6_addr_copy()
C assignment can handle struct in6_addr copying. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

父節點
40ba84993d
當前提交
4e3fd7a06d
@@ -386,7 +386,7 @@ fl_create(struct net *net, struct sock *sk, struct in6_flowlabel_req *freq,
|
||||
err = -EINVAL;
|
||||
goto done;
|
||||
}
|
||||
ipv6_addr_copy(&fl->dst, &freq->flr_dst);
|
||||
fl->dst = freq->flr_dst;
|
||||
atomic_set(&fl->users, 1);
|
||||
switch (fl->share) {
|
||||
case IPV6_FL_S_EXCL:
|
||||
|
Reference in New Issue
Block a user