net: Report dev->promiscuity in netlink reports.
authorBen Greear <greearb@candelatech.com>
Thu, 29 Mar 2012 12:51:30 +0000 (12:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Apr 2012 08:33:46 +0000 (04:33 -0400)
commitedbc0bb3fb72ec4645a242520cf1d0b9b6b02261
tree71455d026ea30221a0d1d7c2d170c0330a7a8d55
parente4422b2d31983ee651d51cb6e25943d56ef63387
net: Report dev->promiscuity in netlink reports.

The standard ways of probing a device's promiscuity
(ifi_flags, for instance) does not report the actual
state of the device.  This patch adds dev->promiscuity
to the netlink netdevice report so that users can know
for certain if the device is acting PROMISC or not.

Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_link.h
net/core/rtnetlink.c