diff options
author | Rami Rosen <ramirose@gmail.com> | 2013-01-11 10:59:20 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-01-12 00:58:08 +0100 |
commit | 28a28283f8220e0b397a18f624fbcbbe046b063c (patch) | |
tree | e2acec141d4529c937ec932174afe7f160d9d10e /net/ipv4/fib_frontend.c | |
parent | net: Export __netdev_pick_tx so that it can be used in modules (diff) | |
download | linux-28a28283f8220e0b397a18f624fbcbbe046b063c.tar.xz linux-28a28283f8220e0b397a18f624fbcbbe046b063c.zip |
ipv4: fib: fix a comment.
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>
Diffstat (limited to 'net/ipv4/fib_frontend.c')
-rw-r--r-- | net/ipv4/fib_frontend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/fib_frontend.c b/net/ipv4/fib_frontend.c index 5cd75e2dab2c..99f00d39d10b 100644 --- a/net/ipv4/fib_frontend.c +++ b/net/ipv4/fib_frontend.c @@ -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); |