summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorWei Wang <weiwan@google.com>2017-06-17 19:42:32 +0200
committerDavid S. Miller <davem@davemloft.net>2017-06-18 04:54:00 +0200
commitb838d5e1c5b6e57b10ec8af2268824041e3ea911 (patch)
tree129ee43f6c1a66e0c5f2c7050c0ac6b87745f958 /drivers/net
parentipv4: call dst_hold_safe() properly (diff)
downloadlinux-b838d5e1c5b6e57b10ec8af2268824041e3ea911.tar.xz
linux-b838d5e1c5b6e57b10ec8af2268824041e3ea911.zip
ipv4: mark DST_NOGC and remove the operation of dst_free()
With the previous preparation patches, we are ready to get rid of the dst gc operation in ipv4 code and release dst based on refcnt only. So this patch adds DST_NOGC flag for all IPv4 dst and remove the calls to dst_free(). At this point, all dst created in ipv4 code do not use the dst gc anymore and will be destroyed at the point when refcnt drops to 0. Signed-off-by: Wei Wang <weiwan@google.com> Acked-by: Martin KaFai Lau <kafai@fb.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions