tunneling: Refresh IP header pointer after update_header().
authorJesse Gross <jesse@nicira.com>
Wed, 15 Dec 2010 23:38:06 +0000 (15:38 -0800)
committerJesse Gross <jesse@nicira.com>
Thu, 16 Dec 2010 17:42:08 +0000 (09:42 -0800)
commit3d8981230bb0c9c11db70f1444e4940ac02d3888
tree7a1c0a23bfd45f78d645e68a391ec83e857eb2da
parent49ad0403a79ed166fad156dd649f8f9d63fc9dc3
tunneling: Refresh IP header pointer after update_header().

We were assuming that the call to update_header() to finalize tunnel
headers wouldn't cause the skb linear data area to be reallocated.
So far this hasn't been a problem but it's not, generally speaking,
a good assumption to make.  Therefore, refetch the pointer to the IP
header instead of carrying it across the call.

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