[PATCH] core/addr: fix compilation warning {was Re:[openib-general] Latest build test results}

Roland Dreier rolandd at cisco.com
Mon Oct 17 10:54:21 PDT 2005


    Sean> Does anyone know the reason for this change?

>From the git tree, I can tell you that the change is from the commit:

    diff-tree f2ccd8fa06c8e302116e71df372f5c1f83432e03 (from b6b99eb5409d75ae35390057cd28f3aedfbd4cf4)
    Author: David S. Miller <davem at davemloft.net>
    Date:   Tue Aug 9 19:34:12 2005 -0700
    
        [NET]: Kill skb->real_dev
    
        Bonding just wants the device before the skb_bond()
        decapsulation occurs, so simply pass that original
        device into packet_type->func() as an argument.
    
        It remains to be seen whether we can use this same
        exact thing to get rid of skb->input_dev as well.
    
        Signed-off-by: David S. Miller <davem at davemloft.net>

it looks like the networking stack now passes the real device into
packet_type.func as orig_dev, rather than having the function look at
skb->real_dev.

 - R.



More information about the general mailing list