tunneling: Clear IP control block in one memset.
authorJesse Gross <jesse@nicira.com>
Thu, 2 Dec 2010 21:07:36 +0000 (13:07 -0800)
committerJesse Gross <jesse@nicira.com>
Fri, 3 Dec 2010 01:10:14 +0000 (17:10 -0800)
commitb1195d37f19f11987027b5b15afa21be9e2a650a
treea87e67a5eeb99fe640887d8a9ad2da7131524cf3
parent7da5c9390e3b6c3ad5e0443e171e570fc16ff978
tunneling: Clear IP control block in one memset.

We currently clear both the members of the IPCB individually before
entering the IP stack.  It's simpler and more robust to just clear
the entire structure.

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