]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
af_packet: use define instead of constant
authordanborkmann@iogearbox.net <danborkmann@iogearbox.net>
Mon, 20 Aug 2012 03:34:03 +0000 (03:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Aug 2012 05:58:27 +0000 (22:58 -0700)
commit9e67030af367ab524d0856af9e992de241eca3c7
tree751ac8ad2e353622e966ad85f554ae5ba9e7d086
parentbfdc587c5af4ff155cf702b972e8fcd66d77d5f2
af_packet: use define instead of constant

Instead of using a hard-coded value for the status variable, it would make
the code more readable to use its destined define from linux/if_packet.h.

Signed-off-by: daniel.borkmann@tik.ee.ethz.ch
Signed-off-by: David S. Miller <davem@davemloft.net>
net/packet/af_packet.c