Re: why does tcpmss_reverse_mtu() in xt_TCPMSS.c call dst_release()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 2009-03-02 14:08, Giacomo wrote:

>Good morning. A simple question this time:
>
>why does tcpmss_reverse_mtu() in xt_TCPMSS.c call dst_release() after dst_mtu()?
>
>I saw that dst_release decrements reference count of the passed struct
>dst_entry*.

A route entry will be created with ai->route(), but since all we want is 
the MTU, this dst/route is released again so that it will get gc'ed.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux