datapath: Use ipv4_dst_hoplimit() instead of direct access.
authorJesse Gross <jesse@nicira.com>
Fri, 18 Mar 2011 21:37:33 +0000 (14:37 -0700)
committerJesse Gross <jesse@nicira.com>
Fri, 18 Mar 2011 22:10:04 +0000 (15:10 -0700)
commit29722bcc53774a763c583dfeec12af492a035008
tree6924ecca1fe82976dd718d7a89ad2ab8e047ec52
parent48cad9dc53a7c63eadf1b480a5a9412d76666c21
datapath: Use ipv4_dst_hoplimit() instead of direct access.

In 2.6.38 dst metrics became shared and use copy-on-write instead
of using private versions.  This means that it is no longer permissible
to directly access the metric and we need to use the helper function
instead.

Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
datapath/tunnel.c