]> err.no Git - linux-2.6/commit
[NEIGH]: Make /proc/net/arp opening consistent with seq_net_open semantics
authorDenis V. Lunev <den@openvz.org>
Thu, 10 Jan 2008 11:53:12 +0000 (03:53 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:01:37 +0000 (15:01 -0800)
commit4250846146c04ac6f17bf92619ddfef6db2cf34f
tree4fb27a2735e521f34ae4f2d20b39936db1b632e7
parentae22120ad846399f6aa19c5b32f8d4c7bd068fd1
[NEIGH]: Make /proc/net/arp opening consistent with seq_net_open semantics

seq_open_net requires that first field of the seq->private data to be
struct seq_net_private. In reality this is a single pointer to a
struct net for now. The patch makes code consistent.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/neighbour.h
net/core/neighbour.c