Commit 27fbbc57 authored by Hideaki Yoshifuji's avatar Hideaki Yoshifuji

[XFRM] remove duplicated lines; fl->fl4_{src,dst} is already filled in xfrm_lookup().

parent 72a3b209
......@@ -47,10 +47,6 @@ __xfrm4_find_bundle(struct flowi *fl, struct rtable *rt, struct xfrm_policy *pol
{
struct dst_entry *dst;
if (!fl->fl4_src)
fl->fl4_src = rt->rt_src;
if (!fl->fl4_dst)
fl->fl4_dst = rt->rt_dst;
read_lock_bh(&policy->lock);
for (dst = policy->bundles; dst; dst = dst->next) {
struct xfrm_dst *xdst = (struct xfrm_dst*)dst;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment