]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
net: packet: use reciprocal_divide in fanout_demux_hash
authorDaniel Borkmann <dborkman@redhat.com>
Wed, 28 Aug 2013 20:13:10 +0000 (22:13 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Aug 2013 20:43:29 +0000 (16:43 -0400)
commitf55d112e529386af3667fac3a507132a361b2154
treee4bb91c918f6ad6028e651d3c3287cd728cd3e60
parent5df0ddfbc9209ffafc82236509ba0e975120e3c3
net: packet: use reciprocal_divide in fanout_demux_hash

Instead of hard-coding reciprocal_divide function, use the inline
function from reciprocal_div.h.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/packet/af_packet.c