[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] problem with netback netif copying_receiver flag
Just in case rx_copy has a value other than 0 or 1. Since it's read from xenstore it seemed worth sanitising it. It's not really very important or strictly necessary. -- Keir On 2/6/08 09:50, "Zang Hongyong" <zanghongyong@xxxxxxxxxx> wrote: > hi, > I'm confused with !! when setting netback rx_copy flag. > be->netif->copying_receiver = !!rx_copy > here why use !! ? > > why not just > be->netif->copying_receiver = rx_copy > > thanks in advance! > > Zang Hongyong > zanghongyong@xxxxxxxxxx > 2008-06-02 > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@xxxxxxxxxxxxxxxxxxx > http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |