lkml.org 
[lkml]   [2011]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[054/165] net: Change netdev_fix_features messages loglevel
    2.6.39-stable review patch.  If anyone has any objections, please let us know.

    ------------------
    Content-Length: 825
    Lines: 28


    From: Michael S. Tsirkin <mst@redhat.com>

    [ Upstream commit 604ae14ffb6d75d6eef4757859226b758d6bf9e3 ]

    Cool, how about we make 'Features changed' debug as well?
    This way userspace can't fill up the log just by tweaking tun features
    with an ioctl.

    Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    ---
    net/core/dev.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/net/core/dev.c
    +++ b/net/core/dev.c
    @@ -5258,7 +5258,7 @@ void netdev_update_features(struct net_d
    if (dev->features == features)
    return;

    - netdev_info(dev, "Features changed: 0x%08x -> 0x%08x\n",
    + netdev_dbg(dev, "Features changed: 0x%08x -> 0x%08x\n",
    dev->features, features);

    if (dev->netdev_ops->ndo_set_features)



    \
     
     \ /
      Last update: 2011-06-01 10:53    [W:0.017 / U:0.984 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site