Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 195281
b: refs/heads/master
c: 62db5cf
h: refs/heads/master
i:
  195279: 2bb03f4
v: v3
  • Loading branch information
stephen hemminger authored and David S. Miller committed May 18, 2010
1 parent 6024abb commit 5a3ef86
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6ff9c3644e72bfac20844e0155c2cc8108602820
refs/heads/master: 62db5cfd70b1ef53aa21f144a806fe3b78c84fab
12 changes: 7 additions & 5 deletions trunk/net/xfrm/xfrm_user.c
Original file line number Diff line number Diff line change
Expand Up @@ -1783,7 +1783,7 @@ static int xfrm_add_pol_expire(struct sk_buff *skb, struct nlmsghdr *nlh,

} else {
// reset the timers here?
printk("Dont know what to do with soft policy expire\n");
WARN(1, "Dont know what to do with soft policy expire\n");
}
km_policy_expired(xp, p->dir, up->hard, current->pid);

Expand Down Expand Up @@ -1883,7 +1883,7 @@ static int xfrm_add_acquire(struct sk_buff *skb, struct nlmsghdr *nlh,
return 0;

bad_policy:
printk("BAD policy passed\n");
WARN(1, "BAD policy passed\n");
free_state:
kfree(x);
nomem:
Expand Down Expand Up @@ -2385,8 +2385,9 @@ static int xfrm_send_state_notify(struct xfrm_state *x, struct km_event *c)
case XFRM_MSG_FLUSHSA:
return xfrm_notify_sa_flush(c);
default:
printk("xfrm_user: Unknown SA event %d\n", c->event);
break;
printk(KERN_NOTICE "xfrm_user: Unknown SA event %d\n",
c->event);
break;
}

return 0;
Expand Down Expand Up @@ -2676,7 +2677,8 @@ static int xfrm_send_policy_notify(struct xfrm_policy *xp, int dir, struct km_ev
case XFRM_MSG_POLEXPIRE:
return xfrm_exp_policy_notify(xp, dir, c);
default:
printk("xfrm_user: Unknown Policy event %d\n", c->event);
printk(KERN_NOTICE "xfrm_user: Unknown Policy event %d\n",
c->event);
}

return 0;
Expand Down

0 comments on commit 5a3ef86

Please sign in to comment.