aboutsummaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_user.c
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2006-11-27 12:25:58 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-03 00:30:43 -0500
commit4e9b82693542003b028c8494e9e3c49615b91ce7 (patch)
tree955620d0b859b3e5817faafcbe7de6b355bb7d05 /net/xfrm/xfrm_user.c
parentd61c167dd0797a16584f7a922dd5d50efad1d28a (diff)
[NETLINK]: Remove unused dst_pid field in netlink_skb_parms
The destination PID is passed directly to netlink_unicast() respectively netlink_multicast(). Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm/xfrm_user.c')
-rw-r--r--net/xfrm/xfrm_user.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/xfrm/xfrm_user.c b/net/xfrm/xfrm_user.c
index 6c4d2f49d9e5..8dbb38b91de2 100644
--- a/net/xfrm/xfrm_user.c
+++ b/net/xfrm/xfrm_user.c
@@ -650,7 +650,6 @@ static struct sk_buff *xfrm_state_netlink(struct sk_buff *in_skb,
650 if (!skb) 650 if (!skb)
651 return ERR_PTR(-ENOMEM); 651 return ERR_PTR(-ENOMEM);
652 652
653 NETLINK_CB(skb).dst_pid = NETLINK_CB(in_skb).pid;
654 info.in_skb = in_skb; 653 info.in_skb = in_skb;
655 info.out_skb = skb; 654 info.out_skb = skb;
656 info.nlmsg_seq = seq; 655 info.nlmsg_seq = seq;
@@ -1168,7 +1167,6 @@ static struct sk_buff *xfrm_policy_netlink(struct sk_buff *in_skb,
1168 if (!skb) 1167 if (!skb)
1169 return ERR_PTR(-ENOMEM); 1168 return ERR_PTR(-ENOMEM);
1170 1169
1171 NETLINK_CB(skb).dst_pid = NETLINK_CB(in_skb).pid;
1172 info.in_skb = in_skb; 1170 info.in_skb = in_skb;
1173 info.out_skb = skb; 1171 info.out_skb = skb;
1174 info.nlmsg_seq = seq; 1172 info.nlmsg_seq = seq;