lkml.org 
[lkml]   [2012]   [Feb]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH 0/8] validate MAC address before call .ndo_set_mac_address
    Date
    On Mittwoch, 29. Februar 2012, you wrote:
    > On Wed, 2012-02-29 at 16:42 +0100, Danny Kukawka wrote:
    > > Validate the given MAC address directly in dev_set_mac_address()
    > > if a .ndo_validate_addr function is available before calling
    > > the .ndo_set_mac_address function.
    > >
    > > Changed .ndo_validate_addr to take a second parameter containing
    > > a sockaddr struct to be checked instead of the net_device dev_addr.
    > > The behaviour of .ndo_validate_addr is now: if the second parameter
    > > is NULL the net_device->dev_addr gets validate, if != NULL
    > > the given parameter/sockaddr gets validated instead.
    > >
    > > This patch series include adaptations for some drivers which
    > > use .ndo_set_mac_address functions directly - to prevent double
    > > checks and to enable validations via .ndo_validate_addr.
    >
    > [...]
    >
    > You have to do this as a single patch. The kernel and drivers should
    > still build at each stage.

    Okay. In this case only patch 1 and 2 needs to be merged into one commit/patch
    since the other will even work with out patch one or two. I will send a new
    version of the series as soon as I get more comments on the content.

    Danny


    \
     
     \ /
      Last update: 2012-02-29 17:17    [W:0.046 / U:1.284 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site