Commit 57a32eae authored by David S. Miller's avatar David S. Miller

[DECNET]: Fix bogus pointer cast to int.

parent 53d30f64
...@@ -812,7 +812,7 @@ static int dn_nsp_rx_packet(struct sk_buff *skb) ...@@ -812,7 +812,7 @@ static int dn_nsp_rx_packet(struct sk_buff *skb)
printk(KERN_DEBUG "NSP: 0x%02x 0x%02x 0x%04x 0x%04x %d\n", printk(KERN_DEBUG "NSP: 0x%02x 0x%02x 0x%04x 0x%04x %d\n",
(int)cb->rt_flags, (int)cb->nsp_flags, (int)cb->rt_flags, (int)cb->nsp_flags,
(int)cb->src_port, (int)cb->dst_port, (int)cb->src_port, (int)cb->dst_port,
(int)sock_owned_by_user(sk)); !!sock_owned_by_user(sk));
if (!sock_owned_by_user(sk)) if (!sock_owned_by_user(sk))
ret = dn_nsp_backlog_rcv(sk, skb); ret = dn_nsp_backlog_rcv(sk, skb);
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment