Skip to content

Commit

Permalink
ipv4: fib: fix a comment.
Browse files Browse the repository at this point in the history
In fib_frontend.c, there is a confusing comment; NETLINK_CB(skb).portid does not
refer to a pid of sending process, but rather to a netlink portid.

Signed-off-by: Rami Rosen <ramirose@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Rami Rosen authored and David S. Miller committed Jan 11, 2013
1 parent 87696f9 commit 28a2828
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ipv4/fib_frontend.c
Original file line number Diff line number Diff line change
Expand Up @@ -974,7 +974,7 @@ static void nl_fib_input(struct sk_buff *skb)

nl_fib_lookup(frn, tb);

portid = NETLINK_CB(skb).portid; /* pid of sending process */
portid = NETLINK_CB(skb).portid; /* netlink portid */
NETLINK_CB(skb).portid = 0; /* from kernel */
NETLINK_CB(skb).dst_group = 0; /* unicast */
netlink_unicast(net->ipv4.fibnl, skb, portid, MSG_DONTWAIT);
Expand Down

0 comments on commit 28a2828

Please sign in to comment.