PERFORCE change 149519 for review
Julian Elischer
julian at FreeBSD.org
Wed Sep 10 07:53:23 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=149519
Change 149519 by julian at julian_trafmon1 on 2008/09/10 07:53:03
some missing INIT_VNET_XXX calls
Affected files ...
.. //depot/projects/vimage/src/sys/contrib/pf/net/pf_subr.c#7 edit
.. //depot/projects/vimage/src/sys/contrib/rdma/rdma_cma.c#3 edit
Differences ...
==== //depot/projects/vimage/src/sys/contrib/pf/net/pf_subr.c#7 (text+ko) ====
@@ -127,6 +127,7 @@
u_int32_t
pf_new_isn(struct pf_state *s)
{
+ INIT_VNET_INET(curvnet);
u_int32_t md5_buffer[4];
u_int32_t new_isn;
struct pf_state_host *src, *dst;
==== //depot/projects/vimage/src/sys/contrib/rdma/rdma_cma.c#3 (text+ko) ====
@@ -48,8 +48,10 @@
#include <sys/syslog.h>
#include <sys/vimage.h>
+#include <net/if.h>
#include <netinet/in.h>
#include <netinet/in_pcb.h>
+#include <netinet/vinet.h>
#include <contrib/rdma/rdma_cm.h>
#include <contrib/rdma/ib_cache.h>
@@ -1947,6 +1949,7 @@
static int cma_alloc_any_port(struct kvl *ps, struct rdma_id_private *id_priv)
{
+ INIT_VNET_INET(curvnet);
struct rdma_bind_list *bind_list;
int port, ret;
@@ -1991,6 +1994,7 @@
static int cma_use_port(struct kvl *ps, struct rdma_id_private *id_priv)
{
+ INIT_VNET_INET(curvnet);
struct rdma_id_private *cur_id;
struct sockaddr_in *sin, *cur_sin;
struct rdma_bind_list *bind_list;
@@ -2910,6 +2914,7 @@
static int cma_init(void)
{
+ INIT_VNET_INET(curvnet);
int ret;
LIST_INIT(&listen_any_list);
More information about the p4-projects
mailing list