summaryrefslogtreecommitdiffstats
path: root/tools/vm/Makefile
diff options
context:
space:
mode:
authorwangweidong <wangweidong1@huawei.com>2013-12-26 13:55:56 +0800
committerDavid S. Miller <davem@davemloft.net>2013-12-31 14:31:44 -0500
commit0438816efd86c764d5544bf52e769604062316b3 (patch)
treef7d505f16aec9a072e934dbc8dc2c79c4fd229cd /tools/vm/Makefile
parent6a031f67c83aa175aedd10d4ae64750415ab57b0 (diff)
downloadlinux-0438816efd86c764d5544bf52e769604062316b3.tar.gz
linux-0438816efd86c764d5544bf52e769604062316b3.tar.bz2
linux-0438816efd86c764d5544bf52e769604062316b3.zip
sctp: move skb_dst_set() a bit downwards in sctp_packet_transmit()
skb_dst_set will use dst, if dst is NULL although is not a problem, then goto the 'no_route' and free nskb, so do the skb_dst_set is pointless. so move the skb_dst_set after dst check. Remove the unnecessary initialization as well. v2: fix the subject line because it would confuse people, as pointed out by Daniel. Signed-off-by: Wang Weidong <wangweidong1@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/vm/Makefile')
0 files changed, 0 insertions, 0 deletions